I'm developing a tool to be used in WinPE and have been facing an issue while using PySide2/PyQt5 in WinPE environment.
While importing QtGui, it says ImportError: DLL load failed while importing QtGui: The specified module could not be found.
But importing QtCore is successful.
If I use the same environment in another Windows machine it is successful.
Asked
Active
Viewed 784 times
4
1 Answers
1
I also developing a pyqt5 program run in winpe. using pyinstaller convert it to exe and run successfully in a new win7 machchine.
when start at win10 pe the command line says below message.
The specified module could not be found.
I found one solution is using specific version of PyQT5 from below url
pip install PyQT5==5.9

Albert Wang
- 19
- 1