相关疑难解决方法(0)

无法安装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万
查看次数

从命令行获取HTTPS服务器的证书指纹?

最近,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上托管图片

https mercurial command-line google-code certificate

31
推荐指数
4
解决办法
3万
查看次数