错误:启动bash后出现No module named virtualenvwrapper

新年

环境:Ubuntu 16.04.3 LTS

错误信息:

 /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. 

解决方法:
重新添加python有关的环境变量:

export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
错误:启动bash后出现No module named virtualenvwrapper_第1张图片
完整环境变量

你可能感兴趣的:(错误:启动bash后出现No module named virtualenvwrapper)