Google App Engine: ImportError: No module named google.appengine.dist27.threading

·Tech·No AI

Short note to remember that because it happened to me for the second time (and not only me ;-)). I just wanted to quickly deploy application from localhost to testing environment and I’ve added App Engine SDK to skipped files. I forgot about that and after a weekend I spent some time to investigate why I can’t run runserver because of error:

ImportError: No module named google.appengine.dist27.threading

It is tricky because I thought that I don’t have SDK in python path but I could import google from python.. so the problem was just in my app.yaml:

skip_files:
- lib/google_appengine

Spot something wrong?

Found a typo, a broken link, or something that could be better? I would love to hear from you. Drop me a message and I will fix it.