1
我剛剛安裝了Python 2.7.6。Mac使用不同的Python版本與virtualenv
$ python -V
Python 2.7.6
$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
當我試圖指定的Python版本,而與
virtualenv -p /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7.6 test
創建一個新的virtualenv我得到:
The executable /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7.6 (from --python=/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7.6) does not exist
如果我只是使用virtualenv test
創建一個新的virtualenv我仍然得到Python 2.7.5。 我在做什麼錯?