Virtualenv:一边弄错误

时间:2014-06-20 14:17:01

标签: ubuntu virtualenv virtualenvwrapper

$  virtualenv envv
Traceback (most recent call last):
  File "/home/rohit/bin/virtualenv", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2880, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 596, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: virtualenv==1.9.1

通过synaptic包重新安装但遇到同样的问题。请帮助

1 个答案:

答案 0 :(得分:0)

我清除了错误中提到的特定文件夹中的软件包,并使用命令重新安装

pip install virtualenv

简单就是那个