Python 3.x 无法安装任何python包pip SSLError
我最近更改了我的环境路径以安装vpckg-此操作失败,因此我将路径更改回以前的状态,请参阅随附的系统路径图片。我不知道这是否产生了我目前面临的问题,但我添加了系统路径以防万一 但是现在当我尝试运行任何东西时,它告诉我必须重新安装Numpy。当我尝试执行此操作时,会出现以下错误:Python 3.x 无法安装任何python包pip SSLError,python-3.x,ssl,pip,certificate,Python 3.x,Ssl,Pip,Certificate,我最近更改了我的环境路径以安装vpckg-此操作失败,因此我将路径更改回以前的状态,请参阅随附的系统路径图片。我不知道这是否产生了我目前面临的问题,但我添加了系统路径以防万一 但是现在当我尝试运行任何东西时,它告诉我必须重新安装Numpy。当我尝试执行此操作时,会出现以下错误: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broke
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Requirement already up-to-date: pip in c:\users\victor.ciulei\appdata\roaming\python\python37\site-packages (20.0.2)
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
我已经试着添加了
pip安装--trusted host pypi.org--trusted host files.pythonhosted.org numpy
但我也犯了同样的错误
在Windows10上使用Python 3.7 重新安装Miniconda成功了