最近使用Python做一个小工具,但在使用pyinstaller打包成可执行程序后在Win7无法运行,提示缺少api-ms-win-core-path-l1-1-0.dll。

最开始以为是因为没安装VC++,但是安装后还是不能运行。
在使用pyinstaller打包的时候有看到缺少api-ms-win-core-path-l1-1-0.dll的警告,尝试下载这个DLL确依然不能解决问题。
yinstaller WARNING:lib not found: api-ms-win-core-path-l1-1-0.dll dependency of c:\users\ymzym\appdata\local\programs\python\python39-32\python39.dllPyinstaller
WARNING:lib not found: api-ms-win-core-path-l1-1-0.dll dependency of c:\users\ymzym\appdata\local\programs\python\python39-32\python39.dll最后发现是因为Python3.9已经不再支持Win7了,最后使用Python3.8.6来编译解决了这个问题。
原文地址:http://www.zkea.net/codesnippet/detail/python-pyinstaller-missing-api-ms-win-core-path-l1-1-0-dll.html
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。