1

由于我升级到 OS X 10.9,因此在打开新终端时收到此消息:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'virtualenvwrapper'
virtualenvwrapper.sh: There was a problem running the initialization hooks. If
Python could not import the module virtualenvwrapper.hook_loader, check that
virtualenv has been installed for VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and
that PATH is set properly.

这个问题似乎与virtualenv有关,但我实际上不再需要它了。所以如果卸载它可以解决问题,我可以做到。

4

1 回答 1

0

你没有virtualenvwrapper,你可以使用安装它,pip或者你可以从 pypi 下载整个 tar.zip 文件,然后运行python setup.py​​. 最好的方法是使用pip.

于 2013-10-25T06:57:46.687 回答