2020-02-11
阅读量:
968
pip安装库时报错,提示网络超时
其实归根是网速问题,这时我们可以通过设置其他通道完成安装~
第一种方法:在终端里设置超时时间:pip --default-timeout=100 install -U Pillow
第二种方法:设置国内镜像:pip install -i https://pypi.douban.com/simple module_name






评论(0)


暂无数据
推荐帖子
2条评论
6条评论
7条评论