pyenv doesn't switch between versions on MacOs
It seems that you have to put the following in your (at the end) .bash_profile or .szhrc:
eval "$(pyenv init -)"
A good source for this was: pyenv don't switch between python versions on macos #1446. Also, there is some good information on Catalina, where Apple switched to zsh as the …