So I activated this virutal environment:
pyenv install 3.7.4
pyenv virtualenv 3.7.4 apps3
pyenv local apps3
pyenv activate apps3
and also set this:
pyenv global 3.7.4
I already have these in my .zshrc profile as suggested here:
$ export PATH="$HOME/.pyenv/bin:$PATH"
$ eval "$(pyenv init -)"
$ eval "$(pyenv virtualenv-init -)"
However, even then, when I activate the apps3
and check for python --version
, I keep getting Python 2.7.16
, which is the default Python of my system. How can I fix this?