Tran Duc Huy Tran Duc Huy - 3 months ago 73
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,

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,


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

apiclient, gflags, httplib2, oauth2client, uritemplate


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