ОШИБКА: не удалось найти версию, которая удовлетворяет требованию pandas (из версий:) Не найдено соответствующего распределения для pandas - PullRequest
0 голосов
/ 30 марта 2020

Я новичок в PyCharm и хотел установить pandas в моем проекте. Итак, я использовал следующие команды (одна за другой, потому что первая не работала) в терминале PyCharm, чтобы сделать это.

>pip install pandas
>python -m pip install pandas

Я получил одинаковые ошибки для обеих из них.

ОШИБКА:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pandas
  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 a
vailable.")': /simple/pandas/
  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 a
vailable.")': /simple/pandas/
  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 a
vailable.")': /simple/pandas/
  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 a
vailable.")': /simple/pandas/
  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 a
vailable.")': /simple/pandas/
  Could not fetch URL https://pypi.org/simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded w
ith url: /simple/pandas/ (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 pandas (from versions: )
No matching distribution found for pandas
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 u
rl: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

Как мне установить pandas сейчас? Пожалуйста, помогите.

ОС: Windows 10
Python версия: Python 3.7.6
версия в пипсах: pip 19.0.3

1 Ответ

0 голосов
/ 03 апреля 2020

Итак, в моей системе установлена ​​Anaconda, и при создании проекта я забыл изменить «интерпретатор basi c» с Conda на обычный python .exe, поэтому я не смог ничего установить в это как я использовал пипс Анаконды.

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