我正在尝试使用安装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
我该如何解决这个错误?
最近,Mercurial 在连接到HTTPS服务器时添加了证书验证.我正在尝试克隆googlecode项目的wiki存储库https://wiki.pydlnadms.googlecode.com/hg/,但证书适用于*.googlecode.com.我的印象是,这被称为通配符域,对所有子域都有效,但我收到错误:
matt@stanley:~/src$ hg clone https://wiki.pydlnadms.googlecode.com/hg/ pydlnadms-wiki
abort: wiki.pydlnadms.googlecode.com certificate error: certificate is for *.googlecode.com
Run Code Online (Sandbox Code Playgroud)
据称我需要将证书指纹添加到我的hgrc.如何从命令行检索此指纹?
家长问题:在Google Code上托管图片
certificate ×1
command-line ×1
google-code ×1
https ×1
mercurial ×1
pip ×1
python ×1
python-2.7 ×1