title: wsgi.py cannot be loaded as Python module Error / No module named 'django.core'
body: <p>I have configured Django 2.1.15 on Centos 7 with Apache 2.4.6-93., mod_wsgi, Virtualenv and Postgres.</p>
  <p>And here is my apache conf file:</p>
  <pre><code>    &lt;VirtualHost *:80&gt;
          DocumentRoot /var/www/
  
          Alias /static /var/www/myapp/static
          &lt;Directory /var/www/myapp/static&gt;
                  Options FollowSymLinks
                  Order allow,deny
                  Allow from all
                  Require all granted
          &lt;/Directory&gt;
  
  
          ErrorLog /var/www/myapp/logs/apis_error.log
          CustomLog /var/www/myapp/logs/apis_access.log combined
          LogLevel info
          WSGIPassAuthorization On
          WSGIDaemonProcess myapp  python-path=/var/www/myapp:/var/www/myapp/venv/lib/python3.6/site-packages
          WSGIProcessGroup myapp
          WSGIApplicationGroup %{GLOBAL}
          WSGIScriptAlias / /var/www/myapp/myapp/wsgi.py
          &lt;Directory /var/www/myapp/myapp/myapp&gt;
                  &lt;Files wsgi.py&gt;
                          Require all granted
                  &lt;/Files&gt;
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  <p>The Apache log error:</p>
  <pre><code>[wsgi:error] [pid 4829]  mod_wsgi (pid=4829, process='myapp', application=''): Loading WSGI script '/var/www/myapp/myapp/wsgi.py'.
  [wsgi:error] [pid 4829]  mod_wsgi (pid=4829): Target WSGI script '/var/www/myapp/myapp/wsgi.py' cannot be loaded as Python module.
  [wsgi:error] [pid 4829]  mod_wsgi (pid=4829): Exception occurred processing WSGI script '/var/www/myapp/myapp/wsgi.py'.
  [wsgi:error] [pid 4829]  Traceback (most recent call last):
  [wsgi:error] [pid 4829]    File &quot;/var/www/myapp/myapp/wsgi.py&quot;, line 12, in &lt;module&gt;
  [wsgi:error] [pid 4829]      from django.core.wsgi import get_wsgi_application
  [wsgi:error] [pid 4829]  ModuleNotFoundError: No module named 'django.core'
  [wsgi:info]  [pid 4829] mod_wsgi (pid=4829, process='myapp', application=''): Loading WSGI script '/var/www/myapp/myapp/wsgi.py'.
  [wsgi:error] [pid 4829] mod_wsgi (pid=4829): Target WSGI script '/var/www/myapp/myapp/wsgi.py' cannot be loaded as Python module.
  [wsgi:error] [pid 4829]  mod_wsgi (pid=4829): Exception occurred processing WSGI script '/var/www/myapp/myapp/wsgi.py'.
  [wsgi:error] [pid 4829]  Traceback (most recent call last):
  [wsgi:error] [pid 4829]    File &quot;/var/www/myapp/myapp/wsgi.py&quot;, line 12, in &lt;module&gt;
  [wsgi:error] [pid 4829]      from django.core.wsgi import get_wsgi_application
  [wsgi:error] [pid 4829]  ModuleNotFoundError: No module named 'django.core'
  </code></pre>
  <p>Any idea what might be going on here?</p>
  <p>Thanks!</p>