https://bugs.kde.org/show_bug.cgi?id=372425
            Bug ID: 372425
           Summary: Does not work with PyQt5 ?
           Product: kajongg
           Version: unspecified
          Platform: Other
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: wolfg...@rohdewald.de
          Reporter: benoit.cardi...@laposte.net
                CC: kde-games-b...@kde.org
  Target Milestone: ---

Hi,

I am using Windows 10 with Python v3.5.1 and have git cloned the kajongg
sources yesterday.

I ran 
py -m pip install pyqt5
in the Windows command prompt and it installed fine.

But I get the following error when I launch kajongg.py :

======= RESTART: C:\Users\sovxx_000\Desktop\maj\kajongg\src\kajongg.py =======
Traceback (most recent call last):
  File "C:\Users\sovxx_000\Desktop\maj\kajongg\src\kajongg.py", line 30, in
<module>
    from qt import QObject, usingQt4
  File "C:\Users\sovxx_000\Desktop\maj\kajongg\src\qt.py", line 45, in <module>
    from qt4 import *
  File "C:\Users\sovxx_000\Desktop\maj\kajongg\src\qt4.py", line 23, in
<module>
    from PyQt4 import uic
ImportError: No module named 'PyQt4'

Is PyQt4 needed ?
I am wondering because I can see a qt5.py file in kajongg src folder and PyQt4
seems a bit tricky to install... (I am a lazy noob !)

Thanks !

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to