README.md

Unofficial PyQt5 via PyPI for Python 2.7 64-bit on Windows

Build status PyPI version




A) Install with pip and git

With this approach, you get version 5.7.1

$ pip install git+git://github.com/pyqt/python-qt5.git

B) Or install with just pip

With this approach, you only get 5.3 due to space restrictions on PyPI.

$ pip install python-qt5

C) Or install with just git




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

项目简介

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/pyqt/python-qt5

发行版本 11

0.3.0

全部发行版

贡献者 3

M Marcus Ottosson @Marcus Ottosson
M morefigs @morefigs
V Victor Yap @Victor Yap

开发语言

  • QML 84.7 %
  • Python 12.6 %
  • Perl 2.2 %
  • JavaScript 0.5 %
  • Batchfile 0.0 %