每次打开终端时都会出现Python跟踪错误

时间:2013-05-20 18:32:55

标签: python virtualenv virtualenvwrapper

每次打开终端时,我都会看到此错误:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named virtualenvwrapper.hook_loader
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.

我尝试重新安装virtualenvwrapper以及sudo rm -rf venv

1 个答案:

答案 0 :(得分:0)

看起来很像这个(已解决的)问题:

Python Virtualenv - No module named virtualenvwrapper.hook_loader

这有帮助吗?