pip 国内源下载

本文介绍了如何使用国内镜像源加速pip安装Python库,特别是对于那些难以通过pip直接下载的模块,建议使用whl文件进行安装。提供了PyTorch CPU版本的下载方法,并给出了GITHUB和FastGit的镜像链接,确保稳定和快速地获取所需库。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

pip下载模板
pip install paddlenlp -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
虚拟环境中快速安装 pythoch gpu 低版本
网址
https://pytorch.org/get-started/previous-versions/
然后是把whl文件放在 项目同级目录 pip install whl就可以了
在这里插入图片描述
在这里插入图片描述

**
#pip install -U tensorflow-gpu==1.14.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/

GITHUB 下载链接

**
https://gh.api.99988866.xyz/

https://hub.fastgit.org/

有的模块你就是无法 pip 下载 那么使用 whl文件安装

**
网址:https://www.lfd.uci.ed

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

甜辣uu

谢谢关注再接再厉

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值