With this approach, you get version 5.7.1
$ pip install git+git://github.com/pyqt/python-qt5.gitWith this approach, you only get 5.3 due to space restrictions on PyPI.
$ pip install python-qt5- Launch Python
- Type this in
>>>importsys>>>fromPyQt5importQtWidgets>>>app=QtWidgets.QApplication(sys.argv)
>>>button=QtWidgets.QPushButton("Hello")
>>>button.setFixedSize(400, 400)
>>>button.show()
>>>app.exec_()- More information in the Wiki