python使用镜像源安装库

Posted 程序员小宇

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python使用镜像源安装库相关的知识,希望对你有一定的参考价值。

pip install django -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

豆瓣 :http://pypi.douban.com/simple/

阿里 :http://mirrors.aliyun.com/pypi/simple/

中国科学技术大学:http://pypi.mirrors.ustc.edu.cn/simple

清华:https://pypi.tuna.tsinghua.edu.cn/simple

以上是关于python使用镜像源安装库的主要内容,如果未能解决你的问题,请参考以下文章