Home > other >  Python file can't read the new codec
Python file can't read the new codec

Time:01-27

The new file error: Fatal error Python init_fs_encoding: failed to get the Python codec of the file
The detailed code is as follows, thank you!!!!!!!!!!
Python path configuration:
PYTHONHOME=(not set)
The PYTHONPATH=(not set)
The program name='D: \ python - 3.8.7 - embed - amd64 \ python exe'
Isolated=1
The environment=1
The user site=1
The import site=0
Sys. _base_executable='D: \ \ python - 3.8.7 - embed - amd64 \ \ python exe'
Sys. Base_prefix='D: \ \ python - 3.8.7 - embed - amd64'
Sys. Base_exec_prefix='D: \ \ python - 3.8.7 - embed - amd64'
Sys. The executable='D: \ \ python - 3.8.7 - embed - amd64 \ \ python exe'
Sys. Prefix='D: \ \ python - 3.8.7 - embed - amd64'
Sys. Exec_prefix='D: \ \ python - 3.8.7 - embed - amd64'
Sys. Path=[
'D: \ \ python - 3.8.7 - embed - amd64 \ \ python38 zip',
'D: \ \ python - 3.8.7 - embed - amd64',
]
Error: Fatal Python init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core the initialized
ModuleNotFoundError: No module named 'encodings'

The Current thread 0 x00000908 (most recent call first) :
  • Related