Daniel PyInstaller doesn't support Windows 7 anymore. However, the issue is probably due the fact that the Python DLL is incompatible with Windows 7. That error message is caused by the system being unable to load the DLL - in the case of windows, the LoadLibraryExW function returned NULL.
I'd hazard a guess that the issue is something to do with the windows libc versions being incompatible, however that may not be the cause. Either way, we can't really offer any support as the project no longer supports Windows 7. Jasper Harrison, aka Legorooj Core Developer on PyInstallerhttps://legorooj.net ------- Original Message ------- On Sunday, June 5th, 2022 at 19:47, Daniel Keehl <folomeev.kirill2...@yandex.ru> wrote: > I'm trying to run a pyinstaller-built executable on another machine. The > error I see is Error loading Python DLL > 'C:\Users\User\AppData\Local\Temp\_MEI70722\python39.dll > > I built the program like this, I also added -F to make sure the executable is > standalone: > > py -m PyInstaller script.py -F > > I tried adding --add-binary and --add-data options with the path to > python39.dll, but that didn't help. > > The program is built on Windows 10 x64, the machine I'm trying to run the > program on is Windows 7 x64. Even with such a difference and the fact that > Python 3.9 is not for Windows 7, I really doubt this is the reason, otherwise > I would expect another error. > > What am I doing wrong? > > -- > 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/3fe04e28-b249-4464-bf3a-f272cb403ac0n%40googlegroups.com. -- 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/L1q0dOkl38qFqaGM1d2IkaGbm3HwgOrq5GHv3OhEoLjVXsNc5HJLWUe7J_B79t8YtRENT07E2R9oB1jgVPYP1aa9Ia__rmnGd9TmfAc7rAM%3D%40protonmail.com.
publickey - legorooj@protonmail.com - 0x164CF234.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature