Help with imports please

7 views
Skip to first unread message

Edward Dekkers

unread,
Sep 25, 2012, 1:50:13 AM9/25/12
to au-to-do...@googlegroups.com
Might I just start by saying I have it running but I would like to resolve an issue to understand what went wrong.

I'm having a problem with a section in the Getting Started guide. Particularly:

Once the library is installed, enable your local copy of Au-to-do to use it:

enable-app-engine-project /path/to/au-to-do

That instruction does not run on my system unless I specify:

python c:\python27\Scripts\enable-app-engine-project.py D:\workspace\au-to-do

Even when I do that it DOES copy a bunch of about 10 things at a guess and tells me it is successful. However, the copies are mainly _init_py files in otherwise empty folders.

From what I gather it's probably supposed to be like that as there appears to be a handler module to locate and use the imports so maybe that part of it is going OK.

However, the apiclient and oauth2 imports are undefined when I try to run it locally. It seems they cannot be found. I manage to get the application to run by manually copying the contents of
google-api-python-client into the target app folder and then the app runs perfectly.

My path (I think) is also correct:

C:\Program Files (x86)\Google\google_appengine\;C:\Program Files\Java\jre7\bin;C:\Python27\Scripts;C:\Python27

And for good measure I even added the paths to the app engine launcher in the menus just to make sure that wasn't it.

What am I missing? Why does the app not know where the imports are without copying the .py files manually????

Thanks for your attention.

Reply all
Reply to author
Forward
0 new messages