热线电话:13121318867

登录
2020-02-11 阅读量: 968
pip安装库时报错,提示网络超时

其实归根是网速问题,这时我们可以通过设置其他通道完成安装~

第一种方法:在终端里设置超时时间:pip --default-timeout=100 install -U Pillow

第二种方法:设置国内镜像:pip install -i https://pypi.douban.com/simple module_name

0.0000
4
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子