A
A
archi19982014-11-02 11:49:13
Django
archi1998, 2014-11-02 11:49:13

Why is there an error with uWSGI no module named encodings?

uwsgi --ini uwsgi.ini Error
Fatal Python error: Py_Initialize: unable to get the locale encoding
ImportError: no module named 'encodings'
Aborted (core dumped)
In uwsgi.ini
[uwsgi]
chdir=/home/projects/ myproj
module=myproj.wsgi
home=/home/virtualenv
master=true
processes=10
socket=/home/projects/myproj/myproj.sock
vacuum=true
plugins=python34
chmod-socket=664
uid=www-data
gid=www- data
What am I doing wrong? Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question