我的操作系统是Windows 10,当我使用pip命令时,遇到以下错误: 在安装请求期间发生此错误
Exception:
Traceback (most recent call last):
File "c:\users\naweed\appdata\local\programs\python\python37\lib\site-
packages\pip\_vendor\urllib3\response.py", line 302, in _error_catcher
File
"c:\users\naweed\appdata\local\programs\python\python37\lib\http\client.py",
line 491, in readinto
n = self.fp.readinto(b)
File "c:\users\naweed\appdata\local\programs\python\python37\lib\socket.py",
line 589, in readinto
return self._sock.recv_into(b)
pip._vendor.urllib3.exceptions.ReadTimeoutError:
HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed
out.
我怎么了? 如何解决? 由于粘贴所有错误的限制,我只显示了一个错误
答案 0 :(得分:0)
如果您通过点子下载或发现软件包的请求中存在网络超时,则会发生读取超时 这里可以尝试