1
我每次打開終端,在最上面我看到這個錯誤:Python的回溯錯誤每次終端打開
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
當您運行以下'/ usr/bin/python -c「導入virtualenvwrapper」'時會發生什麼?也許你的系統上安裝了多個python? –