uWSGI Fails with No module named encoding Error
问题 I am trying to setup uWSGI with Pyramid, but I am getting this error, when attempting uwsgi --ini-paste development.ini Python version: 3.2.3 Error message: uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 3 Python version: 3.2.3 (default, Oct 19 2012, 20:08:46) [GCC 4.6.3] Set PythonHome to /root/path/to/virtualenv Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named encodings Here is what I have in development.ini [uwsgi] socket = /tmp