@bwoodsend Thanks for your detailed reply.
I searched my computer and specifically C:\Windows\System32\api-ms* I don't 
have api-ms-win-crt-runtime-l1-1-0.dll. Is that odd?
What source would you recommend I download it from?



On Friday, 31 July 2020 17:33:30 UTC+5:30, bwoodsend wrote:
>
> 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 pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/4def4f1a-7cc0-4cc5-a1e0-ffbb8d7ec88co%40googlegroups.com.

Reply via email to