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内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复