Skip to content
master
Switch branches/tags
Code
This branch is 24 commits behind pyqt/python-qt5:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PyQt5 - distributed via PyPI

Build Status PyPI version

Installation - 5.3

$ pip install python-qt5

You'll also need the Visual C++ Redistributable.

For alternative installation methods, see the wiki

Testing out the installation

  1. Launch Python
  2. Type this in
>>> import sys
>>> from PyQt5 import QtWidgets
>>> app = QtWidgets.QApplication(sys.argv)
>>> button = QtWidgets.QPushButton("Hello")
>>> button.setFixedSize(400, 400)
>>> button.show()
>>> app.exec_()
  • More information in the Wiki