标签 pyinstaller 下的文章

解决pyinstaller报错丢失api-ms-win-crt-runtime-11-1-0.dll

报错写了一个脚本,大佬非要打包成exe给他,所以使用pyinstaller把python脚本编译成exe,结果在windows上运行的时候报dll找不到。解决pyinstaller -p C:\Windows\System32\downlevel --onefile xxx.py 注:报错是因为打包时缺失了api-ms-win-crt-runtime...