I have configured uWSGI with NGIX and django.
Uwsgi fails with message:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named encodings
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Found problem. I have installed uwsgi plugins both for python and python3. Python3 plugin was used, while default interpreter for my system was python 2.6.
When I uninstalled uwsgi python3 plugin problem dissapeared. You can also specify what plugin to use for speciffic application by setting the
pluginsoption.