ERROR: No matching distribution found for pandas

当pip安装第三方库速度缓慢时,可以切换到国内的镜像源以加速下载。文中列举了阿里云、中国科技大学、豆瓣、清华大学和中国科学技术大学等镜像地址,并提供了临时和永久设置pip使用国内镜像的方法。通过修改index-url,可以显著提高pip的安装速度。检查当前配置源可使用`pip config list`命令。
摘要由CSDN通过智能技术生成

因该是网络原因,所以利用国内镜像

pip 安装第三方库速度太慢
可设置 pip 从国内的镜像源下载安装

阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣 http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

其一:

# 临时使用

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xxxxxxx

 其二:

# 永久设置

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

可查看配置的源 

pip config list

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值