我有下面的测试程序 – 我用pyinstaller编译代码(Python ver 3.7b.windows 10 – 64bit)在编译和错误期间注意到警告.我很感激有任何解决这个问题的见解.
Test.py
import encodings
print('Test')
汇编警告样本
102 INFO: PyInstaller: 3.3.1
102 INFO: Python: 3.7.0b1
104 INFO: Platform: Windows-10-10.0.14393-SP0
2771 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\apps\python\python37\python.exe
2801 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\apps\python\python37\python.exeError – executing the program
Fatal Python error: initfsencoding:
unable to load the file system codec
zipimport.ZipImportError:
can’t find module ‘encodings’
Current thread 0x0000289c (most recent call first):
最佳答案