after running
brew update
brew install pyenv
switching python with pyenv has no effect:
[michael@varga (Sun Dec 15 19:18:55) ~]% pyenv install 3.3.2
Downloading Python-3.3.2.tgz...
-> http://yyuu.github.io/pythons/0a2ea57f6184baf45b150aee53c0c8da
Installing Python-3.3.2...
Installed Python-3.3.2 to /Users/michael/.pyenv/versions/3.3.2
Downloading setuptools-2.0.tar.gz...
-> https://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz
Installing setuptools-2.0...
Installed setuptools-2.0 to /Users/michael/.pyenv/versions/3.3.2
Downloading pip-1.4.1.tar.gz...
-> https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz
Installing pip-1.4.1...
Installed pip-1.4.1 to /Users/michael/.pyenv/versions/3.3.2
[michael@varga (Sun Dec 15 19:25:57) ~]% pyenv versions
* system (set by /Users/michael/.pyenv/version)
3.3.2
[michael@varga (Sun Dec 15 19:26:09) ~]% pyenv global 3.3.2
[michael@varga (Sun Dec 15 19:26:41) ~]% pyenv versions
system
* 3.3.2 (set by /Users/michael/.pyenv/version)
[michael@varga (Sun Dec 15 19:26:43) ~]% python --version
Python 2.7.2
opening a new terminal shell:
/usr/local/Cellar/pyenv/20131116/libexec/../completions/pyenv.bash:16: command not found: complete
I've also changed .zshenv to
export PYENV_ROOT="$HOME/.pyenv"
eval "$(pyenv init -)"
after running
switching python with pyenv has no effect:
opening a new terminal shell:
I've also changed .zshenv to