0

i downloaded this: https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.6/

and when running any example scripts, I get a module not found error like this:

File "C:\Program Files (x86)\Python36-32\Lib\site-packages\PyQt5\examples\dialogs\classwizard\classwizard.py", line 45, in <module>
from PyQt5.QtCore import QDir, QFile, QRegExp
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.`

I read this post and added the env variable: PyQt5 module cant be found after installing PyQt5 with Installer

Could it be because I am using Python 3.6.5. and the installer is for Python 3.5 ? or do I have to install anything additional? I doubt that because the installer said it installs PyQt, Qt and other tools.

Laurent H.
  • 6,316
  • 1
  • 18
  • 40
Flying Thunder
  • 890
  • 2
  • 11
  • 37
  • Your error seems to indicate that you did not have a DLL required by pyqt5. And seem to be a [duplicate question](https://stackoverflow.com/questions/42863505/dll-load-failed-when-importing-pyqt5) – thuyein May 30 '18 at 09:59
  • Possible duplicate of [DLL load failed when importing PyQt5](https://stackoverflow.com/questions/42863505/dll-load-failed-when-importing-pyqt5) – thuyein May 30 '18 at 10:00
  • actually, after checking - i do already have the python3.dll that is mentioned in this post – Flying Thunder May 30 '18 at 10:07
  • But did you install Qt? https://www.qt.io/download – Sebastian Loehner May 30 '18 at 10:39
  • uh, not on its own, but the installer i linked above said that Qt is included – Flying Thunder May 30 '18 at 10:41
  • @FlyingThunder. You cannot mix python versions like that - everything has to match. – ekhumoro Jun 01 '18 at 09:38
  • ah, the newest `https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.10.1/` is for 3.6.5? theres no python version number on it - alright, thanks, i thought it was backwards compatible – Flying Thunder Jun 01 '18 at 09:51

0 Answers0