googlearchive / appengine-try-python-django Goto Github PK
View Code? Open in Web Editor NEWApp Engine Getting Started with Django (Python)
App Engine Getting Started with Django (Python)
Line27 in the myproject/wsgi.py seems to be the offending line.
Logging:
2014-05-09 17:57:19 Running command: "['C:\\Python27\\python.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8001', u'C:\\Users\\Brett\\workspace\\brettstestcloud']"
INFO 2014-05-09 17:57:29,355 devappserver2.py:765] Skipping SDK update check.
WARNING 2014-05-09 17:57:29,392 api_server.py:374] Could not initialize images API; you are likely missing the Python "PIL" module.
WARNING 2014-05-09 17:57:29,400 simple_search_stub.py:1070] Could not read search indexes from c:\users\brett\appdata\local\temp\appengine.brettstestcloud\search_indexes
INFO 2014-05-09 17:57:29,430 api_server.py:171] Starting API server at: http://localhost:61587
INFO 2014-05-09 17:57:29,443 dispatcher.py:182] Starting module "default" running at: http://localhost:8080
INFO 2014-05-09 17:57:29,454 admin_server.py:117] Starting admin server at: http://localhost:8001
ERROR 2014-05-10 00:57:57,280 wsgi.py:262]
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 239, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 298, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 95, in LoadObject
__import__(cumulative_path)
File "C:\Users\Brett\workspace\brettstestcloud\myproject\wsgi.py", line 27, in <module>
from django.core.wsgi import get_wsgi_application
ImportError: No module named wsgi
INFO 2014-05-09 17:57:57,322 module.py:627] default: "GET / HTTP/1.1" 500 -
ERROR 2014-05-10 00:57:58,519 wsgi.py:262]
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 239, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 298, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 95, in LoadObject
__import__(cumulative_path)
File "C:\Users\Brett\workspace\brettstestcloud\myproject\wsgi.py", line 27, in <module>
from django.core.wsgi import get_wsgi_application
ImportError: No module named wsgi
INFO 2014-05-09 17:57:58,536 module.py:627] default: "GET / HTTP/1.1" 500 -
ERROR 2014-05-10 00:57:58,648 wsgi.py:262]
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 239, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 298, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 95, in LoadObject
__import__(cumulative_path)
File "C:\Users\Brett\workspace\brettstestcloud\myproject\wsgi.py", line 27, in <module>
from django.core.wsgi import get_wsgi_application
ImportError: No module named wsgi
I verified that this problem does not occur for the same project on my Mac. Difference in environment? I thought the library path for Django would be provided within the dev_appserver environment with no extra configuration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.