pip错误:找不到与google-api-python-client匹配的分布 [英] pip error: no matching distribution found for google-api-python-client

查看:108
本文介绍了pip错误:找不到与google-api-python-client匹配的分布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照此博客文章中概述的有关Firebase和Google App Engine的步骤

I am following the steps outlined in this blog post about Firebase and Google App Engine

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

当我尝试运行时:

pip install -t lib -r requirements.txt

我收到以下错误:

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 consider upgrading via the 'pip install --upgrade pip' command.

我在Mac上.

有关如何纠正此问题的任何想法?

Any thoughts on how to rectify this?

谢谢!

仅供参考:requirements.txt的全部内容很简单:

FYI: The entire contents of requirements.txt is simply:

google-api-python-client

从这里

: https://github.com/firebase/functions-cron/tree/master/appengine

推荐答案

尝试使用pip直接安装它:

Try installing it directly using pip:

pip install google-api-python-client

这对我有用.

这篇关于pip错误:找不到与google-api-python-client匹配的分布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆