Installing the client library
You can either use a package manager or download and install the Python client library
manually:
Managed installation
Use pip or setuptools to manage your installation (you might
need to run sudo first):
Manual installation
Download the latest client
library for Python, unpack the code, and run python setup.py install
App Engine
Because the Python client libraries are not installed in the
App Engine Python runtime environment,
they must be
vendored into your application just like third-party libraries.
Download samples
After you have installed the library,
you can optionally download and unpack
samples.
The package names that start with google-api-python-client-samples- contain samples
using this library in many scenarios.
See the
Sample Applications
page for more information about these and other samples.
Notice: This DevSite page will soon be deleted per b/133171590. Please add this sample to GitHub if it is relevant still:
https://developers.google.com/api-client-library/python/start/installation
Installation
This page contains information about installing the Google APIs Client Library for Python.
System requirements
Installing the client library
You can either use a package manager or download and install the Python client library manually:
Managed installation
Use pip or setuptools to manage your installation (you might need to run
sudofirst):easy_installtool included in the setuptools package:Manual installation
python setup.py installApp Engine
Because the Python client libraries are not installed in the App Engine Python runtime environment, they must be vendored into your application just like third-party libraries.
Download samples
After you have installed the library, you can optionally download and unpack samples. The package names that start with google-api-python-client-samples- contain samples using this library in many scenarios. See the Sample Applications page for more information about these and other samples.