1

每次我打开终端时,我都会在最顶部看到这个错误:

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

4

1 回答 1

0

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

Python Virtualenv - 没有名为 virtualenvwrapper.hook_loader 的模块

这有帮助吗?

于 2013-05-20T21:00:18.120 回答