【问题标题】:ERROR : Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas错误:找不到满足熊猫要求的版本(来自版本:)没有为熊猫找到匹配的发行版
【发布时间】:2020-03-30 13:16:01
【问题描述】:

我是 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
点子版本:点子 19.0.3

【问题讨论】:

    标签: python pandas pycharm


    【解决方案1】:

    所以,我的系统安装了 Anaconda,在创建项目时,我忘记将“基本解释器”从 Conda 更改为普通的 python.exe,这就是为什么我无法在其中安装任何东西的原因。蟒蛇的点子。

    【讨论】:

    • 为什么不在项目中使用 Conda?
    猜你喜欢
    • 2022-10-23
    • 1970-01-01
    • 2022-08-23
    • 1970-01-01
    • 2019-02-07
    • 1970-01-01
    • 2019-02-23
    • 2017-09-01
    相关资源
    最近更新 更多