报错:
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/local/bin/python3 and that PATH is
set properly.
该问题原因:python解释器的路径不正确。
解决方法:
先查看python3的路径
find / -name python3
/usr/bin/python3
vim .bashrc
在末尾添加:
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
source .bashrc 运行两次就可以了