哪个PIP版本将支持哪个python版本

时间:2019-12-13 07:13:58

标签: python pip

我给了这个评论> 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

救救我.......

1 个答案:

答案 0 :(得分:0)

pip3应该是python 3的理想选择。但是,如果pip是内置的,则不需要get-pip.py。

您可以直接做

“ pip install xlrd”或“ pip3 install xlrd”

要检查您的点子所在的位置,请在命令行中使用“ where pip”或“ where pip3”。