I am using Python 3.7 (64-bit) and installed cx_Freeze for converting .py into .exe.
I used this command prompt to convert Python script into an executable:
python [filename] build
It successfully build the executable. But when I executed my EXE file, I just get output:
fatal python error:initfsencoding:unable to load the file system codec
ImportError: invalid flags 1530052318 in 'encoding'
Current thread 0X000013f8 :
How to solve it and successfully make an executable file using cx_Freeze?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…