我是Python的新手,并试图> pip install linkchecker在Windows 7上.一些说明:
> pip install scrapy也会导致SSL错误.python而pip直到我安装3.4.1中不具备的命令行.> pip search linkchecker作品.也许这是因为pip搜索不会验证网站的SSL证书.以下是运行后我的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库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
我该如何解决这个错误?
Pip总是失败,即使我做pip install dedupe或pip 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验证呢?
我从这里安装了 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)