This has been asked several times.  See Tobias' response:
  
http://code.google.com/appengine/forum/python-forum.html?place=topic%2Fgoogle-appengine-python%2FIPG0wLCvX-s%2Fdiscussion





Robert





On Thu, Feb 10, 2011 at 16:13, AkumaStreak <[email protected]> wrote:
> Hello,
>
> I have been trying to get virtualenv + the GAE Python SDK working in
> OS X Snow Leopard for DAYS. I found this guy's blog post recently
> (http://schettino72.wordpress.com/tag/virtualenv) and thought steps 2
> and 3 would fix my issues, but they persist.
>
> I am using the zip vs. the DMG version because I kept having problems
> using that with virtualenv (although I suspect the REAL problem might
> be independent of which version I was using, as I keep getting the
> same error -- “ImportError: No module named cgi”).
>
> Can a wizard look at my outlined steps here: http://pastebin.com/aGvsxRMi
>
> I have no idea (I am new to GAE/Python, but seriously) why I can’t get
> this example running (I was able to get the non-webapp “Hello world!”
> example working): 
> http://code.google.com/appengine/docs/python/gettingstarted/usingwebapp.html
>
> The persisting errors I get are that it can’t find modules, like
> _imaging (although the app does start). When I hit it via localhost I
> get “ImportError: No module named cgi”. I’ve tried so many diff.
> variations on these steps… I just can’t get this working so far. Here
> are some dumps.
>
> The weirdest part is that in the interpreter launched in the activated
> environment I can import these things... it's like there is a delta
> between when I run python in the terminal and when I run the
> dev_appserver w.r.t. the environment...
>
> From dev_appserver before I hit it: http://pastebin.com/d1sPdens
> Returned in the browser: http://pastebin.com/NURKQrV1
> Dump if “–debug_imports” is enabled: http://pastebin.com/JfuPpD5G
>
> Really hoping to get past this soon -- thanks for any help.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to