Installing Google Cloud Client Libraries for Python 3.7

The Google Cloud Client Library is the idiomatic way for Python 3.7 developers to integrate their apps with GCP services on the Python 3.7 runtime.

For example, you can install the corresponding Python client library for Cloud Datastore or Cloud Storage to integrate those services with your app.

For a complete list of all of the Python libraries for the supported GCP services, see APIs & Python Libraries

Example

Assume that you want to use Cloud Datastore on your local machine.

To install the Python client library for Cloud Datastore:

  1. Install the client library locally by using pip:

    pip install google-cloud-datastore

  2. Set up authentication. You can configure the Google Cloud Python libraries to handle authentication automatically or you can provide credentials manually.

  3. Use the Cloud Datastore Client Libraries reference to implement support for the Cloud Datastore service in your app.

If you want to use Python client libraries in your App Engine app, see Specifying Dependencies.

Was this page helpful? Let us know how we did:

Send feedback about...

App Engine standard environment for Python 3