ImportError: No module named apiclient.discovery

Huy Tower picture Huy Tower · Aug 16, 2013 · Viewed 172.9k times · Source

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

If you still got problem, please consider below Answer of this page to get more info. ex. : Varum answer, etc ...

Answer

Jorvis picture Jorvis · May 7, 2014

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.