我是靠谱客的博主 苗条蜻蜓,这篇文章主要介绍安装tensorflow时报错:socket.timeout: The read operation timed out,现在分享给大家,希望可以做个参考。

重新安装tensorflow时报timeout


因为在运行某个程序的时候,找了半天没找到原因,百度一下说是让重装一下TF的版本,从2.3.0降为2.0.0。

pip install tensorflow

报错: socket.timeout: The read operation timed out

解决方法:

pip --default-timeout=100 install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple

这里用的是清华镜像源,其他的镜像源也行,这样再运行一下,就ok了。

最后

以上就是苗条蜻蜓最近收集整理的关于安装tensorflow时报错:socket.timeout: The read operation timed out的全部内容,更多相关安装tensorflow时报错:socket.timeout:内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部