I am new to the world of python and I was hoping you could help with my PyQt5 installation troubles.
I have downloaded PyQt5 (zip folder) for Windows and extracted onto my desktop. Source: https://www.riverbankcomputing.com/software/pyqt/download5
As instructed in the read me file, I have also installed the latest SIP package (also extracted to the desktop) and I have run the configure.py in python 3.5 to receive the following error:
Error: Use the --qmake argument to explicitly specify a working Qt qmake.
Does anyone know why this may be? Or how I fix it and complete the install?
Additionally, I have watched a tutorial on YouTube... https://www.youtube.com/watch?v=JBME1ZyHiP8 However when trying to run his code (shown below) I get the:
'ImportError: No module named 'PyQt5'
Is this linked to the install issues?
Code: import sys from PyQt5 import QtGui app = QtGui.QApplication (sys.argv) window = QtGui.Qwidget() window.setGeometry (50, 50, 800, 500) window.setWindowTitle("GIS Demonstration") window.show()
Am I missing something? All solutions welcome.
Thanks, Jodie