当我尝试在Anaconda promt中安装任何软件包时,出现错误:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting plotly
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/plotly/
Could not fetch URL https://pypi.org/simple/plotly/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/plotly/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement plotly (from versions: )
No matching distribution found for plotly
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
我当前正在使用Windows 10,并尝试重新安装Anaconda,并向环境变量添加Anaconda路径。 我也尝试了很多软件包,但是遇到了同样的问题。
如何解决?