error loading python37 dll windows 7

48 views
Skip to first unread message

Wojciech Bezen

unread,
Oct 28, 2020, 3:11:00 PM10/28/20
to PyInstaller
Hi,

I created an exe file using PyInstaller and it works on my PC with Windows 8.1 and laptop with WIndows 10, but on computers with Windows 7 it has error

"error loading python37 dll "
and sometrhing about dynamic linked libraries.

Do you know maybe how can I fix it?
I was reading about static linked dll but I dont know how to do it. I am working on Windows only, I dont know Linux/Mac.

Please help me, it is very urgent for because it is software for my University diploma.

Best regards,
WB

bwoodsend

unread,
Oct 29, 2020, 6:22:08 AM10/29/20
to PyInstaller

DLL errors usually mean that the app is broken everywhere but the machines which work already have the DLL elsewhere in PATH which makes it look like it works. Can you confirm that:

  • python37.dll is not present in your build (you’ll have to disable 1dir to check this)?
  • Running where python37 from cmd yields something on the machines that work but nothing on the machine that doesn’t?

But that particular DLL going missing tends to mean you’re using an unsupported distribution of Python (such as the one on the Windows store). If you switch to a vanilla Python from python.org that should get rid of it.

Reply all
Reply to author
Forward
0 new messages