升级使用命令:pip3 install --upgrade pip 出现报错: raise ReadTimeoutError(self._pool, None, 'Read timed out.')pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. 网上查了一下,看起来是因为files.pythonhosted.org的网址...
data = self._fp.read(amt) if not fp_closed else b"" File "C:\Users\Acer\AppData\Local\Programs\Python\Python38\lib\site-packages\pip\_vend or\cachecontrol\filewrapper.py", line 62, in read data = self.__fp.read(amt) File "C:\Users\Acer\AppData\Local\Programs\Python\Python38\l...
Readtimed out错误多数是由于网络问题,因为官方在国外,可能由于网络问题超时。建议使用国内的镜像源:阿里...
E:\Program Files (x86)\python\Scripts>python -m pip install --upgrade pip Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)",)'...
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) a fter connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.pyth on.org', port=443): Read timed out. (read timeout=15)",)': /simple/pip/ ...
socket.timeout: The read operation timed out 超时的原因是: (1)国外的资源,下载本身比较慢,自己网络可能还是一般般的网速 (2)在cmd命令窗口输入pip , 可以看到默认的超时的时间是 15 秒 百度看别人的方法有写或者修改 pip.conf 文件的,也有用镜像的,我由于不知道pip.conf 的文件写在哪,二镜像太麻烦。
看黄字 readtimeout 像楼上一样换成清华源吧,顺便路径最好不要有中文
ip-19.1.1-py2.py3-none-any.whl (1.4MB) 1% |▌ | 20kB 2.2kB/s eta 0:10:08Exception: Traceback (most recent call last): ...省略部分... raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files...
Requirement already satisfied: pip in c:\self setup\跑一趟红\lib\site-packages (22.3.1)WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (...
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.You should consider upgrading via the 'C:\Python\Python37\python.exe -m pip install...