I recently updated my Mac's python version to 2.7.10, and I can confirm that this change has occurred:
$ python --version
Python 2.7.10
However, when I make a new virtualenv, the python version is still an old one:
(ENV)$ python --version
Python 2.7.6
Any suggestions for how to create a virtualenv that uses Python 2.7.10?
To be clear, my question is different from this one. There are not distinct binaries called python2.7.6
and python2.7.10
in /usr/bin/
; instead, there is a single binary called python2.7
. I have already tried the following virtualenv -p
sequence to no effect. :(
$ virtualenv -p /usr/bin/python2.7 ENV
$ source ENV/bin/activate
(ENV)$ python --version
Python 2.7.6
Any additional thoughts/suggestions would be much appreciated. Thanks!