Reputation: 21971
I've installed the google adwords API using :
python setup.py build install
However, when I load python and try and import one of the modules I get the following:
from oauth2client import client
ImportError: No module named oauth2client
or
from adspygoogle import AdWordsClient
ImportError: cannot import name AdWordsClient
How do I fix this?
Upvotes: 2
Views: 886
Reputation: 34
The oauth2client library makes it easy to connect to resources protected by OAuth 2.0. The oauth2client library comes as part of the google-api-python-client, but is also available as a separate download if you just need the OAuth 2.0 capabilities.
The library supports these Python environments:
Python 2.4, 2.5, 2.6, 2.7 Google App Engine Django
Upvotes: 1