Установить пакет с Anaconda в Windows ошибка: pip настроен с местоположениями, которые требуют TLS / SSL - PullRequest
0 голосов
/ 29 марта 2019

Когда я пытаюсь установить какой-либо пакет в запросе Anaconda, я получаю сообщение об ошибке:

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 к переменным среды. Я также пробовал со многими пакетами, но получил ту же проблему.

Как это исправить?

command image

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...