我是靠谱客的博主 烂漫抽屉,这篇文章主要介绍解决socket.timeout:The read operation timed out,现在分享给大家,希望可以做个参考。

windows下在使用清华源超时pip install -U tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple。遇到了问题:socket.timeout:The read operation timed out
在这里插入图片描述

大概是由于网速不稳定,下载过慢,超出默认时间。
修改输入 pip --default-timeout=100 install 包名
这里我使用的是pip --default-timeout=1000 install -U tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple

最后

以上就是烂漫抽屉最近收集整理的关于解决socket.timeout:The read operation timed out的全部内容,更多相关解决socket.timeout:The内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(139)

评论列表共有 0 条评论

立即
投稿
返回
顶部