python打包闪退

Python path configuration:
PYTHONHOME = 'C:\Users\lenovo\AppData\Local\Temp_MEI146162'
PYTHONPATH = (not set)
program name = 'C:\Windows\System32\dist\9.exe'
isolated = 0
environment = 0
user site = 0
import site = 0
sys._base_executable = 'C:\Windows\System32\dist\9.exe'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.platlibdir = 'lib'
sys.executable = 'C:\Windows\System32\dist\9.exe'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
'C:\Users\lenovo\AppData\Local\Temp\_MEI146162\base_library.zip',
'C:\Users\lenovo\AppData\Local\Temp\_MEI146162\lib-dynload',
'C:\Users\lenovo\AppData\Local\Temp\_MEI146162',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
LookupError: unknown encoding: utf-8

Current thread 0x0000513c (most recent call first):