[issue39051] Python not working on Windows 10

Rafael Dominiquini report at bugs.python.org
Sun Dec 15 07:51:40 EST 2019


Rafael Dominiquini <rafaeldominiquini at gmail.com> added the comment:

"C:\Developing\Python" is where I installed Python, selecting it in the installer. This directory is where the binary 'python.exe' is located!
"C:\Developing\Python\Lib" have the folders:

idlelib
site-packages
test
tkinter
turtledemo

When I unset both variables, the same error occurs:

-----
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = 'python'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = 'C:\\Developing\\Python\\python.exe'
  sys.base_prefix = ''
  sys.base_exec_prefix = ''
  sys.executable = 'C:\\Developing\\Python\\python.exe'
  sys.prefix = ''
  sys.exec_prefix = ''
  sys.path = [
    'C:\\Developing\\Python\\python38.zip',
    'C:\\Developing\\Python\\python-3.8.0.amd64\\Lib\\',
    'C:\\Developing\\Python\\python-3.8.0.amd64\\Lib\\lib-tk',
    'C:\\Developing\\Python\\python-3.8.0.amd64\\DLLs\\',
    'C:\\Developing\\Python',
  ]
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 0x000060e8 (most recent call first):
<no Python frame>
-----

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39051>
_______________________________________


More information about the Python-bugs-list mailing list