Wil*_*llD 0 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 consider upgrading via the 'pip install --upgrade pip' command.
Run Code Online (Sandbox Code Playgroud)
我在 mac 上。
关于如何纠正这个问题的任何想法?
谢谢!
编辑:仅供参考:requirements.txt 的全部内容很简单:
google-api-python-client
Run Code Online (Sandbox Code Playgroud)
从这里:https : //github.com/firebase/functions-cron/tree/master/appengine
尝试使用 pip 直接安装它:
pip install google-api-python-client
Run Code Online (Sandbox Code Playgroud)
这对我有用。
| 归档时间: |
|
| 查看次数: |
9140 次 |
| 最近记录: |