pip install 超时 错误 失败 python模块下载

在下载python模块时常常出现超时错误

在这里插入图片描述

因为是外网,我们可以使用清华提供的镜像网址。

使用pip的时候加参数 -i https://pypi.tuna.tsinghua.edu.cn/simple ,这样他就会从镜像去安装。

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

这个PyQt5 换成你想要的模块就行了!

发布了17 篇原创文章 · 获赞 5 · 访问量 84

猜你喜欢

转载自blog.csdn.net/weixin_44384461/article/details/105590227
今日推荐