我正在遵循这篇关于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我得到以下错误:
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的全部内容很简单:
google-api-python-client从这里:https://github.com/firebase/functions-cron/tree/master/appengine
发布于 2018-04-11 05:59:53
尝试使用pip直接安装它:
pip install google-api-python-client这对我很有效。
https://stackoverflow.com/questions/49763393
复制相似问题