介绍
这篇文章给大家分享的是有关virtualenvwrapper在python中安装虚拟环境的方法的内容。小编觉得挺实用的,因此分享给大家做个参考。一起跟随小编过来看看吧。
virtualenvwrapper 强> virtualenv
pip install virtualenvwrapper
~/ashrc
(export WORKON_HOME=~/env source /usr/地方/bin/virtualenvwrapper。sh
virtrualenvwrapper
source ~/ashrc #,(读入配置文件,立即生效
强>
1
/bin/python: No module named virtualenvwrapper virtualenvwrapper.sh: There was  a problem running 从而initialization 钩子。 , If Python  could not  import 从而module virtualenvwrapper.hook_loader, check that  virtualenvwrapper has  been installed VIRTUALENVWRAPPER_PYTHON=/bin/python 以及that PATH set 正常。
[root@centos ~] #, source . bashrc bash:/usr/地方/bin/virtualenvwrapper.sh:, No such file 或是目录
~/ashrc
(
~/来源。bashrc
(感谢各位的阅读!关于virtualenvwrapper在python中安装虚拟环境的方法就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到吧!