我给出了这个评论>Python get-pip.py
错误如下所示
Warning: Retrying (Retry(total=4, connect=none, read=none, redirect=none, status=none)) after connection broken by'NewConnectionError('<pip._vendor.urllib3.connection.VerifindHTTPSConnection.obj=..............at 0x045111B98>: Failed to establish a new connection : [Error 11001] get adderinfo failed')' : /simple/pip
Warning: Retrying (Retry(total=4, connect=none, read=none, redirect=none, status=none)) after connection broken by'NewConnectionError('<pip._vendor.urllib3.connection.VerifindHTTPSConnection.obj=..............at 0x045111B98>: Failed to establish a new connection : [Error 11001] get adderinfo failed')' : /simple/pip
Warning: Retrying (Retry(total=4, connect=none, read=none, redirect=none, status=none)) after connection broken by'NewConnectionError('<pip._vendor.urllib3.connection.VerifindHTTPSConnection.obj=..............at 0x045111B98>: Failed to establish a new connection : [Error 11001] get adderinfo failed')' : /simple/pip
Warning: Retrying (Retry(total=4, connect=none, read=none, redirect=none, status=none)) after connection broken by'NewConnectionError('<pip._vendor.urllib3.connection.VerifindHTTPSConnection.obj=..............at 0x045111B98>: Failed to establish a new connection : [Error 11001] get adderinfo failed')' : /simple/pip
Warning: Retrying (Retry(total=4, connect=none, read=none, redirect=none, status=none)) after connection broken by'NewConnectionError('<pip._vendor.urllib3.connection.VerifindHTTPSConnection.obj=..............at 0x045111B98>: Failed to establish a new connection : [Error 11001] get adderinfo failed')' : /simple/pip
Error: could not find the version that verifies the requirement pip (from version none)
Error: no matching distribution found for pip环境详细信息: Windows 10 Python 3.8 (内置PIP)我想安装xlrd和xlwt包
帮帮我.
发布于 2019-12-13 16:51:20
pip3应该是Python3的理想之选,但是如果pip是内置的,你就不需要get-pip.py了。
您可以直接执行以下操作
'pip3 install xlrd‘或’pip3 install xlrd‘
要检查pip所在的位置,请在命令行中使用“where pip”或“where pip3”。
https://stackoverflow.com/questions/59317773
复制相似问题