Importerror: No Module Named Oauth2client
I'm following instructions in the Google Sign-In for Android documentation (https://developers.google.com/identity/sign-in/android/backend-auth) and am trying to implement the toke
Solution 1:
I just found out this documentation from Google App Engine https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring for installing third-party packages to the application.
As per the instructions, I created a folder called 'lib' inside my project folder, and created a file called appengine_config.py, also inside my project folder.
In appengine_config.py file, I entered the following:
from google.appengine.ext import vendor
vendor.add('lib')
Then, on my terminal while inside my project folder, I entered sudo pip install -t lib google-api-python-client
.
This worked! The import no longer throws the error.
Post a Comment for "Importerror: No Module Named Oauth2client"