[Django]-Init_fs_encoding: failed to get the Python codec of the filesystem encoding

3πŸ‘

βœ…

For Windows 10 users:

  1. Press Windows logo on Toolbar.
  2. Type and open Edit the system environment variables.
  3. In Advance tab press Environment Variables button.
  4. For System variables press New button.
  5. Variable name will be PYTHONHOME and Variable value will the path where the python.exe is located (i.e. c:/users/administrator/anaconda3/envs/my_env_name). Then press OK.
  6. Again for System variables press New button.
  7. Variable name will be PYTHONPATH and Variable value will the path of site-packages folder (i.e. C:/Users/Administrator/anaconda3/envs/my_env_name/Lib/site-packages). Then press OK.
πŸ‘€isifzade

Leave a comment