virtualenvwrapper
- 如果没安装pip会出现 pip: command not found,此时需要进行 sudo easy_install pip来安装pip
- ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. 出现timeout的情况:
利用镜像下载 sudo pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ virtualenv
- 会出现OSError: [Errno 1] Operation not permitted: '/tmp/pip-kWWIJ8-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
- 解决办法:
sudo pip install virtualenvwrapper --ignore-installed six
默认路径一般为/usr/local/bin/virtualenvwrapper.sh
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |