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
Last modification:March 26th, 2020 at 11:40 am
如果觉得我的文章对你有用,请尽情赞赏 🐶