Pyecharts库pip安装

Pyecharts库的安装

先附上,运行无报错的Pyecharts库的安装代码!

pip install pyecharts==0.5.5 -i https://mirrors.aliyun.com/pypi/simple/

Pyecharts库的安装没有遇到多大的问题,主要是会出现**“Read timed out”**的情况。

第一次安装时,没有加镜像。

pip install pyecharts==0.5.5

出现的问题

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/pyecharts/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/pyecharts/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/pyecharts/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/pyecharts/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/pyecharts/
ERROR: Could not find a version that satisfies the requirement pyecharts0.5.5 (from versions: none)
ERROR: No matching distribution found for pyecharts
0.5.5

第二次安装,加了镜像,但出现了超时的情况

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyecharts==0.5.5

在这里插入图片描述
到网上查找的解决方式为设置超时时间**“pip --default-timeout=100 install …”**
然后有了下面的代码

pip --default-timeout=100 install -i https://pypi.tuna.tsinghua.edu.cn/simple pyecharts==0.5.5

但是,问题还是没解决
最终我觉得,换个镜像,然后… …,啪得一声就装好了!

pip install pyecharts==0.5.5 -i https://mirrors.aliyun.com/pypi/simple/

离谱!

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值