[英]ERROR : Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas
I'm new to PyCharm and wanted to install pandas in my project.我是 PyCharm 的新手,想在我的项目中安装 Pandas。 So, I used the following commands(one by one because the first one didn't work) in the terminal of PyCharm to do it.
所以,我在 PyCharm 的终端中使用了以下命令(一个一个,因为第一个不起作用)来做到这一点。
>pip install pandas
>python -m pip install pandas
I got the same errors for both of them.我对他们两个都遇到了相同的错误。
ERROR :错误 :
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
How do I install pandas now?我现在如何安装熊猫? Please help.
请帮忙。
OS : Windows 10操作系统:Windows 10
Python version : Python 3.7.6 Python 版本:Python 3.7.6
pip version : pip 19.0.3点子版本:点子19.0.3
因此,我的系统安装了 Anaconda,在创建项目时,我忘记将“基本解释器”从 Conda 更改为普通的 python.exe,这就是为什么我在使用 Anaconda 的 pip 时无法在其中安装任何内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.