相关疑难解决方法(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万
查看次数

'pip install'对每个包都失败("找不到满足要求的版本")

pip install <package name>对我而言,每个包都失败了.这就是我得到的:

Could not find a version that satisfies the requirement <package-name
(from versions: )
No matching distribution found for <package-name>
Run Code Online (Sandbox Code Playgroud)

我在Stack Overflow上看到了 类似的 问题,但它们似乎与这个问题没有完全相关.

此外,这篇文章表明,如果PyPI关闭或我的IP地址被列入黑名单,可能会发生这种情况.对我来说,这似乎都不正确.

pip显示最新的运行情况pip install --upgrade pip.

python pip pypi

66
推荐指数
2
解决办法
13万
查看次数

pip 错误:找不到与 google-api-python-client 匹配的分发版

我正在遵循这篇关于 Firebase 和 Google App Engine 的博文中概述的步骤

https://firebase.googleblog.com/2017/03/how-to-schedule-cron-jobs-with-cloud.html

当我尝试运行时:

pip install -t lib -r requirements.txt
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

Could not fetch URL https://pypi.python.org/simple/google-api-python-client/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
  Could not find a version that satisfies the requirement google-api-python-client (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for google-api-python-client (from -r requirements.txt (line 1))
You are using pip version 9.0.1, however version 9.0.3 is available.
You should …
Run Code Online (Sandbox Code Playgroud)

pip google-api-python-client

0
推荐指数
1
解决办法
9140
查看次数