我为 Python 2.5创建了一个 viralenv,并希望将其“升级”到 Python 2.6。
下面是它最初是如何建立的:
virtualenv --no-site-packages -p python2.5 myenv
我现在在同一个目录下运行 viralenv 来升级:
virtualenv --no-site-packages -p python2.6 myenv
...
Not overwriting existing python script myenv/bin/python (you must use myenv/bin/python2.6)
...
Overwriting myenv/bin/activate with new content
The default python is still 2.5, even though I can also specify 2.6. Is there any way to 拿开 2.5 entirely and have 'bin/python' point to 2.6 instead?