Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/313.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在Windows 10上安装PIP,但获得;未找到pip的匹配分布<;21.0“;_Python_Windows_Python 2.7_Pip - Fatal编程技术网

Python 在Windows 10上安装PIP,但获得;未找到pip的匹配分布<;21.0“;

Python 在Windows 10上安装PIP,但获得;未找到pip的匹配分布<;21.0“;,python,windows,python-2.7,pip,Python,Windows,Python 2.7,Pip,我正在运行一些似乎使用python 2.7.5版本的脚本,我已经在我的Windows计算机上安装了该版本,但在运行它时,我看到以下错误消息 pywin32 has not been installed for python 2.7.5 基于,似乎我需要安装pip 然后我按照python2的步骤安装了pip≤ 2.7.8和Python 3≤ 3.3 提到,但在使用此脚本时,我看到以下错误 ERROR: This script does not work on Python 2.7 The min

我正在运行一些似乎使用python 2.7.5版本的脚本,我已经在我的Windows计算机上安装了该版本,但在运行它时,我看到以下错误消息

pywin32 has not been installed for python 2.7.5
基于,似乎我需要安装
pip

然后我按照python2的步骤安装了
pip
≤ 2.7.8和Python 3≤ 3.3 提到,但在使用此脚本时,我看到以下错误

ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead
然后我使用了
https://bootstrap.pypa.io/pip/2.7/get-pip.py
script,并在运行
python get pip.py

WARNING: Retrying (Retry(total=1, 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)",)': /simple/pip/

C:\usr\appdata\local\temp\tmpuwu19m\pip.zip\pip\_vendor\urllib3\util\ssl_.py:164: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

ERROR: Could not find a version that satisfies the requirement pip<21.0 (from versions: none)
ERROR: No matching distribution found for pip<21.0
警告:在连接被“ReadTimeoutError”(“HTTPSConnectionPool(host='pypi.org',port=443):读取超时(读取超时=15)”,)中断后重试(重试(重试(总计=1,连接=None,读取=None,重定向=None,状态=None)):/simple/pip/
C:\usr\appdata\local\temp\tmpuwu19m\pip.zip\pip\u vendor\urlib3\util\ssl\uuwu.py:164:InsurePlatformWarning:真正的SSLContext对象不可用。这会阻止urllib3正确配置SSL,并可能导致某些SSL连接失败。您可以升级到较新版本的Python来解决此问题。有关详细信息,请参阅https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-警告

错误:找不到满足pip要求的版本。作为临时解决方案,您可以使用“python-MPIP安装”

从长远来看,我建议您使用pip重新安装python,或者尝试按照以下步骤仅安装pip