Tran Duc Huy Tran Duc Huy - 1 month ago 33
Python Question

ImportError: No module named apiclient.discovery

I got this error in Google App Engine's Python have used Google Translate API,
But I don't know how to fix,

<module>
from apiclient.discovery import build
ImportError: No module named apiclient.discovery


I'll try to set environment which indicates to Google App Engine SDK,
And upload to Google Apps Engine again, always get the error,


Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.


Please tell me how to fix,

Thanks

UPDATE : Fixed
Follow Nijjin's help,
I fixed problems by adding the following folders,

apiclient, gflags, httplib2, oauth2client, uritemplate

Answer

You should be able to get these dependencies with this simple install:

sudo pip install --upgrade google-api-python-client

This is described on the quick start page for python

Comments