转载自:https://www.cnblogs.com/boliu/p/7574804.html
问题
pyinstaller打包的pyqt5程序在部分电脑上会失败。用户截图提示下边错误日志
无法定位程序输入点 ucrtbase.terminate 于动态链接库 api-ms-win-crt-runtime-l1-1-0.dll 上
以及
Error loading Python DLL: C:\Users***\python35.dll (error code 127)
解决方案
查找一通之后,在stackoverflow找到了两个解决方案
Install theWindows 10 SDK and add the ucrt DDL dirs to your system path (C:\Program Files\Windows Kits\10\Redist\ucrt or C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64 depending on your system) before building
<