Tag Archives: Python

Installing the Google Data Python Library on a Raspberry Pi

Google doesn’t mention this in their Getting Started article for the Google Data Python Library, I guess there are just too many operating systems and distributions, but the Google Data Python library is available as a Debian package called python-gdata.

You can install it in Raspbian using

sudo apt-get install python-gdata

If you are using Google’s 2-step verification and want to access your account using  the Google Data Python Library you will have to generate an application-specific password if you want to use the ClientLogin authentication. There are also other authentication methods, but I have not tried them yet. ClientLogin only seems to work with the deprecated API v1, but the later APIs seem to need a lot more imports.