首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

win10中anaconda安装tensorflow时报错Traceback (most recent call last): File “E:\Anaconda3\lib\site-packag[通

windows系统anaconda安装tensorflow时报错解决办法。 报错: Traceback (most recent call last): File “E:\Anaconda3\lib\site-packages\pip_vendor\urllib3\response.py”, line 360, in _error_catcher yield File “E:\Anaconda3\lib\site-packages\pip_vendor\urllib3\response.py”, line 442, in read data = self._fp.read(amt) File “E:\Anaconda3\lib\site-packages\pip_vendor\cachecontrol\filewrapper.py”, line 62, in read data = self.__fp.read(amt) File “E:\Anaconda3\lib\http\client.py”, line 447, in read n = self.readinto(b) File “E:\Anaconda3\lib\http\client.py”, line 491, in readinto n = self.fp.readinto(b) File “E:\Anaconda3\lib\socket.py”, line 589, in readinto return self._sock.recv_into(b) File “E:\Anaconda3\lib\ssl.py”, line 1052, in recv_into return self.read(nbytes, buffer) File “E:\Anaconda3\lib\ssl.py”, line 911, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out

01

python接口自动化29-requests超时重试方法

“由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败”,这是经常遇到的问题 requests.exceptions.ConnectionError: HTTPSConnectionPool(host=’www.github.com’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.verifiedhttpsconnection object="" at="" 0x0000020f06524ac8="">: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。’,)) 一般出现这个问题的原因是:host=’www.github.com’ 主机地址没连上,使用 requests 发请求时,有些网站服务器不稳定,特别是国外的网站,经常会出现连接失败情况。 连接失败后,有时候会抛出上面异常,有时候会一直卡住,进入假死状态,没响应,也不会结束。</urllib3.connection.verifiedhttpsconnection>

01

pygame安装问题

刚刚我用pip install pygame时,安装竟然失败 报错如下: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError( ect at 0x000001DC7B0AF490>, ‘Connection to pypi.tuna.tsinghua.edu.cn timed out. (connect timeout=15)’)’: /simple/pip/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError( ect at 0x000001DC7B0C26D0>, ‘Connection to pypi.tuna.tsinghua.edu.cn timed out. (connect timeout=15)’)’: /simple/pip/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.tuna.tsinghua.edu.cn’, port=443): Read timed out. (read timeout=15)”)’: /simple/pip/

02
领券