File "/home/sidharth/Downloads/gmcweb/gmcweb/wsgi. mod_wsgi (pid=32617): Exception occurred processing WSGI script '/home/sidharth/Downloads/g$ ![]() mod_wsgi (pid=32617): Target WSGI script '/home/sidharth/Downloads/gmcweb/gmcweb/wsgi.py' c$ AH00094: Command line: '/usr/sbin/apache2' I installed apache modwsgi as well sudo apt-get install python3-pip apache2 libapache2-mod-wsgi-p圓Įrror Log File AH00489: Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/3.6 configured - resuming normal operations Source Project: django-livereload-server Author: tjwalch File: runserver.py License: BSD. Python Installed Libraries Package Version Os.tdefault('DJANGO_SETTINGS_MODULE', 'ttings')ĭefault Google VM python version is 3.6.9 Here's my WSGI.py file, didn't change anything never had to earlier import osįrom import get_wsgi_application WSGIScriptAlias / /home/sidharth/Downloads/gmcweb/gmcweb/wsgi.py WSGIDaemonProcess gmcweb python-home=/home/sidharth/Downloads/gmcwebenvlin python-path=/home/sidharth/Downloads/gmcweb The website address is replaced by, can't use that here.ĭocumentRoot /home/sidharth/Downloads/gmcwebĬustomLog $/access.log combinedĪlias /static /home/sidharth/Downloads/gmcweb/static ![]() ![]() First, install Yeoman and generator-django-reload using npm (we assume you have. Subsequently, you can run python app.py livereload. A view can return a string, which is treated as name of template, which is rendered with RequestContext and returned. I'm running a django website from virtualenv. Django generator with live-reload and front-end support. Django views are expected to only return HttpResponse based objects. I read ton of articles, but still can't figure out what I'm missing. Django mod_wsgi Apache Server, ModuleNotFoundError: No Module Named Django
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |