繁体   English   中英

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

[英]which PIP version will support to which python version

我给了这个评论>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 (inbuilt PIP) 我要安装包 xlrd 和 xlwt

帮我.......

pip3 应该非常适合用于 python 3。但是如果 pip 是内置的,你就不需要 get-pip.py。

你可以直接做

'pip install xlrd' 或 'pip3 install xlrd'

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM