新建檔案出錯 Fatal Python error: init_fs_encoding: failed to get the Python codec of the file
詳細代碼如下,謝謝各位!!!!
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'D:\python-3.8.7-embed-amd64\python.exe'
isolated = 1
environment = 1
user site = 1
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.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',
]
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 0x00000908 (most recent call first):
<no Python frame>
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/252802.html
上一篇:求Selenium+python定時自動不停重繪當前頁面的陳述句
下一篇:python基礎
