moT_ssoB
折断的指针
2019-12-29 15:24

pip / conda install 报 SSLError

5
  • python

我想安装 pycurl 库一直报ssl的错

安装其他库也报这个错 我python 和 anacoda 卸载重装还是这样

图片说明

图片说明

网上查到说添加环境变量 添加了但还是不行

anacoda 安装文件夹是anacode (新建文件夹的时候打错了)

Python 3.7.6

windows 10 系统

大佬们知道什么原因吗?

错误文本:
pip install pycurl
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Requirement already satisfied: pycurl in d:\anacode\lib\site-packages (7.43.0.3)
WARNING: 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

C:\Users\Enz>conda install scrapy
Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答

为你推荐