python包有哪些镜像安装源

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

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

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

华中理工大学:http://pypi.hustunique.com/

山东理工大学:http://pypi.sdutlinux.org/ 

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


安装例子:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==版本号

史上最全python教学资料:

https://blog.csdn.net/hanyong4719/article/details/89672804

您可以通过配置国内镜像来加快Python包的安装速度。有两个常用的国内镜像可供选择,分别是阿里云和清华大学的镜像。 对于阿里云镜像,您可以使用以下命令来进行配置,并安装python-pptx库: ``` pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ pip install python-pptx ``` 这样配置后,pip将会使用阿里云镜像来下载和安装Python包。 另外一个选择是使用清华大学的镜像。您可以执行以下命令来配置清华大学的pip镜像,并安装python-pptx库: ``` pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip install python-pptx ``` 这样配置后,pip将会使用清华大学镜像来下载和安装Python包。 根据您的网络环境选择其中一个镜像进行配置,即可通过国内镜像安装Python包。这些镜像可以提供更快的下载速度,并解决连接超时的问题。希望对您有帮助!<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [利用国内镜像安装python库pip](https://blog.csdn.net/m0_48096446/article/details/130770623)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值