首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pip错误:找不到与google-api-python-client匹配的发行版

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

Stack Overflow用户
提问于 2018-04-11 05:53:32
回答 1查看 10K关注 0票数 0

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

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

当我尝试运行时:

代码语言:javascript
复制
pip install -t lib -r requirements.txt

我得到以下错误:

代码语言:javascript
复制
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电脑。

对如何纠正这个问题有什么想法吗?

谢谢!

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

代码语言:javascript
复制
google-api-python-client

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

EN

回答 1

Stack Overflow用户

发布于 2018-04-11 05:59:53

尝试使用pip直接安装它:

代码语言:javascript
复制
pip install google-api-python-client

这对我很有效。

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49763393

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档