0

我正在尝试使用分发版本==0.6.35 创建一个虚拟环境,每次创建它时,我都会在激活它后获得以下站点包

distribute==0.6.26
mercurial==2.2.2
virtualenv==1.7.1.2
virtualenvwrapper==3.4
wsgiref==0.1.2
  1. 我想知道,虚拟环境在哪个基础上安装这些具有特定版本的站点包?

  2. 如何使用 Distribute==0.6.35 创建虚拟环境?

我已经尝试过。 我尝试将分发版本升级到 0.6.35,但无法正常工作。

pip install distribute --upgrade
Downloading/unpacking distribute from http://pypi.python.org/packages/source/d/distribute/distribute-0.6.35.tar.gz#md5=e55298c7e3a233df1a47a4881a0c9800
  Using download cache from /Users/nileshsharma/.pip/cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fd%2Fdistribute%2Fdistribute-0.6.35.tar.gz
  Running setup.py egg_info for package distribute

Installing collected packages: distribute
  Found existing installation: distribute 0.6.26
    Not uninstalling distribute at /Users/nileshsharma/.local/lib/python2.7/site-packages/distribute-0.6.26-py2.7.egg, outside environment /Users/nilesh/env/foobar/lib/python2.7/site-packages/nilesh/bin/..

即使我尝试卸载此分发版本,也无法正常工作。

pip uninstall distribute
Not uninstalling distribute at /Users/nileshsharma/.local/lib/python2.7/site-packages/distribute-0.6.26-py2.7.egg, outside environment /Users/nileshsharma/Sites/env/foobar/lib/python2.7/site-packages/nilesh/bin/..
4

0 回答 0