How do I deploy Django with Apache2 on Ubuntu 19.10?
Linode
Linode Staff
I tried to install Django on my Linode, but my Apache logfile says:
ImportError: No module named django.core.wsgi
I have already installed wsgi.
1 Reply
hphillips
Linode Staff
The following article may be related to your situation:
It suggests that this issue is not caused by a missing package, but by a broken/missing path in a wsgi.py file.
Can you compare the "wsgi.py" files in your working project to the one that does not work and see if you are able to find a difference that might be relevant in the lines that say?:
sys.path.append(' . . . .')