Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip error: no matching distribution found for google-api-python-client [duplicate]

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

When I attempt to run:

pip install -t lib -r requirements.txt

I get the following error:

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.

I am on a mac.

Any thoughts on how to rectify this?

Thanks!

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

google-api-python-client

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

like image 233
WillD Avatar asked Jul 24 '26 18:07

WillD


1 Answers

Try installing it directly using pip:

pip install google-api-python-client

This works for me.

like image 121
Manish Dash Avatar answered Jul 27 '26 03:07

Manish Dash



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!