yuwei
yuwei

Reputation: 61

pyinstall error pyi_rth_qt5

I am build a python program by using pyqt5 and matplotlib. it is work. and I use the pyinstaller to build a executable file. it is work on my win10 and other win10. but when the win7 open it, it will have error said failed to executable script pyi_rth_qt5. I do not know what is wrong? can someone help me?enter image description here

Upvotes: 0

Views: 935

Answers (1)

Zhaomin Sun
Zhaomin Sun

Reputation: 31

1 Pack the program in debug mode, like:

pyinstaller --debug -c -F main.py

You will get detailed information when execute the main.exe in cmd.

2 The win7 machine may not have the vs2015 runtime dll, try to install vc_redist 2015.

Upvotes: 1

Related Questions