升级brew后,virtualenvwrapper出现问题

时间:2020-01-06 17:25:44

标签: python anaconda virtualenv homebrew virtualenvwrapper

我升级了brew,现在每次打开终端时都会收到此消息:

/usr/bin/python: 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 virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.

我尝试了以下文章中Railslide和Sudipta Basak发布的建议解决方案,但都没有为我解决此问题:problems with python and virtualenvwrapper after updating: No module named virtualenvwrapper

执行“ / usr / local / bin / pip3 install virtualenv virtualenvwrapper”会显示“要求已满足”消息。

我在Mac上,这对我来说是一件破事,例如我与Anaconda一起安装的Juypter Notebook,因此将不胜感激!

0 个答案:

没有答案