title: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding, when trying to start uwsgi
body: <p>I am trying to start my uwsgi server in my virtual environment, but after I added <code>plugin python3</code> option I get this error every time:</p>
  <pre class="lang-none prettyprint-override"><code>!!! Python Home is not a directory: /home/env3/educ !!!
  Set PythonHome to /home/env3/educ
  Python path configuration:
    PYTHONHOME = '/home/env3/educ'
    PYTHONPATH = (not set)
    program name = '/home/env3/educ/bin/python'
    isolated = 0
    environment = 1
    user site = 1
    import site = 1
    sys._base_executable = '/home/env3/educ/bin/python'
    sys.base_prefix = '/home/env3/educ'
    sys.base_exec_prefix = '/home/env3/educ'
    sys.executable = '/home/env3/educ/bin/python'
    sys.prefix = '/home/env3/educ'
    sys.exec_prefix = '/home/env3/educ'
    sys.path = [
      '/home/env3/educ/lib/python38.zip',
      '/home/env3/educ/lib/python3.8',
      '/home/env3/educ/lib/python3.8/lib-dynload',
    ]
  Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
  Python runtime state: core initialized
  ModuleNotFoundError: No module named 'encodings'
  
  Current thread 0x00007efe89db8780 (most recent call first):
  &lt;no Python frame&gt;
  </code></pre>
  <p>Also I tried to create new virtual environment using <code>python3 -m venv env</code> and moved project files to it, but still the same error.
  Here is my uwsgi.ini file:</p>
  <pre><code>[uwsgi]
  
  base = /home/env3/educ
  projectname = educ
  
  plugins = python3
  master = true
  virtualenv = /home/env3/%(projectname)
  pythonpath = %(base)
  env = DJANGO_SETTINGS_MODULE=%(projectname).settings.pro
  module = %(projectname).wsgi:application
  socket = /tmp/%(projectname).sock
  chmod-socket = 666
  </code></pre>
  <p>I use Python 3.8.5</p>
  <p>I am trying to use Django + uWSGI + nginx + Postgresql.</p>