pip install -i <package name> http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple或者在$HOME/.pip目录下,新建文件pip.conf
[global]
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com pip install -i <package name> http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple或者在$HOME/.pip目录下,新建文件pip.conf
[global]
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com