2

I have installed PyQt with the installer (4.11.4 so that should be good. Im on windows 10 running Python 3.5.

Python install path:

C:\Python34

PyQt install path:

C:\Python\Lib\site-packages\PyQt4

Update: I reinstalled and renamed the folder. Now i get this message:

ImportError: DLL load failed: Cannot find the module

I have these folders added to my path:

C:\Python
C:\Python\Lib\site-packages
C:\Python\Lib\site-packages\PyQt4
bastelflp
  • 9,362
  • 7
  • 32
  • 67
Elmer
  • 388
  • 2
  • 3
  • 13
  • If you're running Python 3.5, why is it installed in `C:\Python34`? – Aurora0001 Oct 01 '16 at 19:27
  • Thats the old folder i had from previous installations. Think this matters? – Elmer Oct 01 '16 at 19:40
  • Potentially. Python might be searching in the 3.5 folder so it can't find your library. Have you checked your `PYTHONPATH` environment variable to see if it's searching in that folder? – Aurora0001 Oct 01 '16 at 19:46
  • Changed it just to be sure, see my update. – Elmer Oct 01 '16 at 20:52
  • Did you mean `C:\Python\Lib\site-packages\PyQt4`? You said that you installed it in `C:\Python34\Lib\site-packages\PyQt4`. – Aurora0001 Oct 02 '16 at 08:36
  • I have reinstalled both to prevent any problems. It is installed in `C:\Python\Lib\site-packages\PyQt4` now. – Elmer Oct 02 '16 at 12:09
  • Have you seen [this thread](http://stackoverflow.com/questions/2140836/pyqt-4-7-importerror-after-installing-on-windows)? It seems to be similar to your new issue. – Aurora0001 Oct 02 '16 at 12:37
  • I have, similar indeed but no solution for me there. – Elmer Oct 02 '16 at 12:45

0 Answers0