Установка модулей с помощью pip - PullRequest
0 голосов
/ 23 февраля 2019

Я пытаюсь установить модули Python, используя pip, но получаю следующую ошибку

Я попытался установить его с помощью приглашения anaconda, но мне это удалось, и я смог использовать его в ноутбуке jupyter, но я не смог использовать его в python

даже обновили python и pip

Я использую Python версии 3.7.2

Microsoft Windows [Версия 6.1.7600] Copyright (c) 2009 Microsoft Corporation.Все права защищены.

C:\Program Files\Python>pip install pytube
pip is configured with locations that require TLS/SSL, however the ssl module in
 Python is not available.
Collecting pytube
  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 SS
L module is not available.")': /simple/pytube/
  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 SS
L module is not available.")': /simple/pytube/
  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 SS
L module is not available.")': /simple/pytube/
  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 SS
L module is not available.")': /simple/pytube/
  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 SS
L module is not available.")': /simple/pytube/
  Could not fetch URL https://pypi.org/simple/pytube/: There was a problem confi
rming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max r
etries exceeded with url: /simple/pytube/ (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 pytube (from versions:
 )
No matching distribution found for pytube
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 retrie
s exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS UR
L because the SSL module is not available.")) - skipping
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...