使用Anaconda3版本的Sublime Text Editor出现Numpy和TTL / SSL错误

时间:2019-03-05 00:26:24

标签: python numpy sublimetext

我需要以下消息的帮助,我花了好几天的时间弄清楚VSCode,然后升华了文本编辑器。您的帮助将不胜感激。

  1. 当我在import pandas as pd的Sublime编辑器中进行“构建”时,收到以下消息。
Traceback (most recent call last):
  File "C:\Personal\Anaconda3\1.py", line 2, in <module>
    import pandas as pd
  File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\__init__.py", line
19, in <module>
    "Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']
  1. 我试图按照以下步骤再次在cmd中安装熊猫,并收到了此消息
C:\ProgramData\Anaconda3\Scripts>pip install pandas
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Requirement already satisfied: pandas in c:\programdata\anaconda3\lib\site-packages (0.23.4)
Requirement already satisfied: python-dateutil>=2.5.0 in c:\programdata\anaconda3\lib\site-packages (from pandas) (2.7.5)
Requirement already satisfied: pytz>=2011k in c:\programdata\anaconda3\lib\site-packages (from pandas) (2018.7)
Requirement already satisfied: numpy>=1.9.0 in c:\programdata\anaconda3\lib\site-packages (from pandas) (1.15.4)
Requirement already satisfied: six>=1.5 in c:\users\subha_000\appdata\roaming\python\python37\site-packages (from
python-dateutil>=2.5.0->pandas) (1.12.0)
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

我只使用一个版本的python-> Anaconda

请帮助。

0 个答案:

没有答案