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 = http://pypi.douban.com/simple/
[install]
trusted-host=pypi.douban.com
disable-pip-version-check = true
timeout = 6000
然後就可以了~~