i cant get litespeed django venv to wrok .
I am using the Django OpenLiteSpeed One-Click app. I can’t get OpenLiteSpeed beyond the example site.
I get 503 or it just keeps loading. In the log I get:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named ‘encodings’
All I need to do to break it is set the example to use Mysql.
If you change back to sqllite3 it works fine. I know it work because if i use the django test server “python manage.py runserver 0.0.0.0:8000” so the venv is setup correctly.
I have tried adding to the context:
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×