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 !
Well, looks like I just had to launch kajongg.py --qt5 instead. Would be nice if it could be included in the README file though
I wrote a Windows installer, see https://www.linux-apps.com/content/show.php?content=103206 However I must admit that it might not be quite up to date, I will shortly update it. But I do not know much about Windows - so if you install kajongg manually, you are on your own. Up till now kajongg can fallback to qt4 if qt5 is wanted but not installed, I will have to do it the other way round too: If qt4 is wanted but not installed, automatically try qt5. That way I will not have to write anything into the README.
OK, thank you