Python入门六:Pyinstaller生成exe 在非开发环境中使用出现的问题汇总及解决方法

下面记录Pyinstaller生成的exe,在非开发环境中使用出现问题,及解决办法

1、无法定位程序输入点 ucrtbase.terminate 于动态链接库 api-ms-win-crt-runtime-l1-1-0.dll 上。

 Universal CRT (KB2999226)缺失,可以通过安装此更新来解决问题。或者直接下载 Visual C++ Redistributable ,链接

https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145

2、Pyinstaller 打包的 exe 在 xp 下报错

无法定位程序输入点 GetFinalPathNameByHandleW 于动态链接库 KERNEL32.dll 上。 


原因:Getfinalpathnamebyhandlew  XP 不支持这个函数的;python对xp支持的最后版本为3.4.4 我用的python3.6


猜你喜欢

转载自blog.csdn.net/zjm12343/article/details/79712760
今日推荐