Reputation: 1088
I followed the quickstart then I simply clone hello_world
from here. I already downloaded google_appengine sdk from here. I extract it and now I have folder google_appengine
alongside with hello_world
so I execute it like this:
It runs well apparently, until I start to request to localhost:8080. then I got this error:
what's wrong with it? did I miss something?
google said that I can use the built-in library without manually install it with pip
.
PS: it works when I just deploy it to my project on Google. and also it works if I manually install webapp2 inside lib
inside hello_world
like described here then request it locally.
my python version Python 2.7.6 on ubuntu 14.04 32bit
Please if anybody can solve this I would be appreciate it.
Upvotes: 0
Views: 113
Reputation: 1088
Thanks to @Dmytro Sadovnychyi for the answer. It doesn't work for me to uninstall those packages because I never installed it before, But that makes me think maybe built-in library conflict with other package so I decide to create Virtual Environment
. just fresh environment no need to install any package.
activate the environment then execute dev_appserver.py hello_world
now it works
for now I'll stick with it until next update like said here
Upvotes: 1
Reputation: 6201
Seems like this is acknowledged bug in app engine SDK. As a temporary workaround, you may try this steps:
Uninstalling the following PIP packages resolved this issue for me.
sudo pip uninstall gcloud
sudo pip uninstall googleapis-common-protos
sudo pip uninstall protobuf
Credit to this thread: https://groups.google.com/forum/?hl=nl#!topic/google-appengine/LucknWk8iaQ
Be sure to use correct executable of pip if you use virtualenv or have multiple python versions installed.
Upvotes: 1