Note that sometimes it didn't work when I ran the django application as a service in an environment of Windows (10 64bit) + Apache (2.4) + Python 3.5.2 + mod_wsgi (4.5.7).
Run httpd directly from the console
Run httpd as a service
Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
There is something like
Set the environment variable PYTHONPATH (for all users).
c:\python3\Lib
Or something like that.
Recommended Posts