bug:
Could not fetch URL https://pypi.python.org/simple/: ...
or
pip is configured with locations that require TLS/SSL
打开终端,输入
mkdir ~/.pip
cd ~/.pip
创建pip.conf文件:
touch pip.conf
复制粘贴以下配置到pip.conf文件中:
[global]
index-url = https://pypi.douban.com/simple/
[install]
trusted-host=pypi.douban.com
disable-pip-version-check = true
timeout = 6000
然后就可以了~~