相关疑难解决方法(0)

pip install失败,出现"连接错误:[SSL:CERTIFICATE_VERIFY_FAILED]证书验证失败(_ssl.c:598)"

我是Python的新手,并试图> pip install linkchecker在Windows 7上.一些说明:

  • 无论封装,pip安装都失败了.例如,> pip install scrapy也会导致SSL错误.
  • Python 3.4.1的Vanilla安装包括pip 1.5.6.我尝试做的第一件事是安装linkchecker.Python 2.7已经安装,它随ArcGIS一起提供.pythonpip直到我安装3.4.1中不具备的命令行.
  • > pip search linkchecker作品.也许这是因为pip搜索不会验证网站的SSL证书.
  • 我在公司网络中,但我们没有通过代理来访问互联网.
  • 每台公司计算机(包括我的计算机)都有一个受信任的根证书颁发机构,其使用原因有多种,包括支持监控TLS流量到https://google.com.不确定这是否与它有关.

以下是运行后我的pip.log的内容pip install linkchecker:

Downloading/unpacking linkchecker
  Getting page https://pypi.python.org/simple/linkchecker/
  Could not fetch URL https://pypi.python.org/simple/linkchecker/: connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)
  Will skip URL https://pypi.python.org/simple/linkchecker/ when looking for download links for linkchecker
  Getting page https://pypi.python.org/simple/
  Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries …
Run Code Online (Sandbox Code Playgroud)

python windows ssl pip

354
推荐指数
28
解决办法
67万
查看次数

无法安装Python包[SSL:TLSV1_ALERT_PROTOCOL_VERSION]

我正在尝试使用安装Python库pip,收到SSL错误:

~/projects/base ? pre-master±  pip install xdict

Collecting xdict
  Could not fetch URL https://pypi.python.org/simple/xdict/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
  Could not find a version that satisfies the requirement xdict (from versions: )
No matching distribution found for xdict
Run Code Online (Sandbox Code Playgroud)

点数版本:pip 9.0.1

我该如何解决这个错误?

python pip ssl-certificate python-2.7

162
推荐指数
7
解决办法
12万
查看次数

pip始终无法通过ssl验证

Pip总是失败,即使我做pip install dedupepip install --trusted-host pypi.python.org dedupe

无论如何,输出总是相同的:

收集重复数据删除

重试(重试(总计= 4,连接=无,读取=无,重定向=无,状态=无))连接被"SSLError"破坏后(SSLError(1,'[SSL:CERTIFICATE_VERIFY_FAILED]证书验证失败(_ssl.c: 777)'),)':/ simple/dedupe/
Retrying ...

跳绳

找不到满足需求重复数据删除的版本(来自版本:)没有找到重复数据删除的匹配分布

所以我卸载了anaconda并重新安装了它.一样.

你认为问题是我的_ssl.c文件(我不知道它在哪里)必须是腐败的还是什么?为什么pip需要引用,如果我告诉它绕过ssl验证呢?

ssl pip

14
推荐指数
5
解决办法
2万
查看次数

pip3 无法获取 URL https://pypi.org/simple/pip/:确认 ssl 证书时出现问题

我从这里安装了 python3.7 https://tecadmin.net/install-python-3-6-on-centos/ 当尝试使用/升级/安装 pip 时,出现以下错误:

[cloudera@quickstart Python-3.7.6rc1]$ sudo pip3 install --upgrade
WARNING: pip is configured with locations that require TLS/SSL,
however the ssl module in Python is not available.
ERROR: You must give at least one requirement to install (see "pip
help install")
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 …
Run Code Online (Sandbox Code Playgroud)

python openssl pip

5
推荐指数
2
解决办法
4万
查看次数

标签 统计

pip ×4

python ×3

ssl ×2

openssl ×1

python-2.7 ×1

ssl-certificate ×1

windows ×1