Reputation: 777
This is more like a beginner's question.. So please bear..
I started using the google app launcher - python, I created a new application with port 8080. When I run the default Hello, World application (which i noticed from main.py)
I always keep hitting the 500 error - Internal server.
I find this kind of strange error in the logs:- ImportError: No module named urllib.
I'm stuck.. Can you please help trouble shoot.
Thanks!
P.S: I run a snow leopard with a python 2.6.1 pre-installed, hence I didn't install a new package.
Upvotes: 1
Views: 611
Reputation: 777
I resolved this by the following:
Upvotes: 4
Reputation: 16890
I've seen this too -- in fact, one of my OS X boxes still has this problem sometimes. I believe there is probably something in your .profile or site-packages that causes this, but it's difficult to debug. You could try installing Python 2.7 from python.org and use that. (Sorry for being so vague.)
Upvotes: 2