Pycharm各种小问题总结

 

python安装第三方库超时问题:

raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urll

原因:有些比较大的库,对网速要求较高,可以使用豆瓣源,提高下载速度

使用:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 库名

常用的镜像地址

清华:https://pypi.tuna.tsinghua.edu.cn/simple

阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

华中理工大学:http://pypi.hustunique.com/

山东理工大学:http://pypi.sdutlinux.org/

豆瓣:http://pypi.douban.com/simple/

示例:

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

 

 

posted @   XA科研  阅读(73)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示