You’ll need to add that missing dll to your app when building on Windows 10
if you want it to work on Windows 7. To do this:
First locate that dll. Use where api-ms-win-crt-runtime-l1-1-0.dll. It’s a
system dll so it’s probably in the same place for everyone. Mine is at
C:\Windows\System32\api-ms-win-crt-runtime-l1-1-0.dll.
Second add it to your package. If you’re using --onedir mode you can
actually just copy/paste it in but this isn’t recommended for anything
other than a quick experiment. To do it properly add --add-binary
C:\Windows\System32\api-ms-win-crt-runtime-l1-1-0.dll;. to your PyInstaller
xxx.py command (alter the path to the dll if yours differs).
Or if you use the spec file add
binaries=[(shutil.which("api-ms-win-crt-runtime-l1-1-0.dll"),
".")] to the a = Analysis(...) section.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/5d021951-7583-49b3-8c3b-3dfddcbd23a5n%40googlegroups.com.