1π
β
I think you have to set the python version globaly using pip, since it is invoked in one of the /bin
dirs where you havenβt changed your python version.
You can see where pip lies on your system using $ which pip
To do so use $ pyenv global 3.3.1
When using virtualenv you can specify which version you want to use in combination with pyenv via the command:
$ virtenv -p /path/to/pyenv/versions/3.3.1/python
to ensure that you will get the right version β alternativly you can use the pyenv wrapper for virtualenv
Source:stackexchange.com