python2和python3的virtualenvwrapper问题

时间:2020-04-02 12:52:51

标签: python virtualenvwrapper

我有一个MacO Catalina,现在我要进行下一个安装:

python -V ==> python 3.7.5

python2 -V ==> python 2.7.16

点-V ==>点20.0.2

找不到

pip2 -V ==>命令

pyenv版本==> 3.7.5(由/Users/dmuino/.pyenv/version设置)

每次启动终端时,都会显示下一个警告:

Last login: Thu Apr  2 14:28:37 on ttys001
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/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.

你能帮我吗?

0 个答案:

没有答案