문제

I've been experimenting with the Google App Engine, and I'm trying to import certain libraries in order to execute API commands. I've been having trouble importing, however. When I tried to execute "from apiclient.discovery import build", my website doesn't load anymore. When I test locally in IDLE, this command works.

도움이 되었습니까?

해결책

the python api-client package comes with a command enable-app-engine-project that will install all of the required packages into your project folder: http://code.google.com/p/google-api-python-client/wiki/GoogleAppEngine

다른 팁

The packages needs to be locally available, where did you put the packages, in the Python folder or in your project folder?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top