You are not logged in.
I'm setting up a new VPS with Archlinux, I have it configured just as my Ubuntu server, except for some slight differences due to the conf file structures. Here is the error:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
There are the only differences I can think of (WSGIpythonpath directives):
/etc/apache2/mods-enabled/wsgi.conf
WSGIPythonHome /home/user/.virtualenvs/site_env/
WSGIPythonPath /home/user/.virtualenvs/site_env/lib/python3.4/site-packages/
In Archlinux there is appears to be no wsgi.conf file so I added the above lines to the bottom of /etc/httpd/conf/httpd.conf .
I don't know if this or something else is the source of my error - presumably it's following the PythonPath directive since it's no longer returning a 'no module named DJango' error.
Last edited by dejy (2014-05-27 08:33:40)
Offline