当我尝试运行即使是最简单的打印“ Hello World”并使用pyinstaller将其转换为.exe的程序时,它也会返回许多此类错误。
3305 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\users\edoma\python\python.exe
3326 WARNING: lib not found: api-ms-win-crt-locale-l1-1-0.dll dependency of c:\users\edoma\python\python.exe
3344 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\users\edoma\python\python.exe
3368 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\users\edoma\python\python.exe
3391 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\users\edoma\python\python.exe
.exe创建正确,但是当我尝试运行它时,在命令提示符下出现以下错误:
Fatal Python error: initfsencoding: unable to load the file system codec
zipimport.ZipImportError: can't find module 'encodings'
Current thread 0x00003d44 (most recent call first):
我该如何解决? 预先谢谢你