How to install Python PyQt5 tool on Windows platform

Windows platform: win7-64bit

Python version: Python 3.4.1

download link:

(official website) https://

(Web) link: http://pan.baidu.com/s/1geKjgdH Password: hjnf

PyQt5 version: PyQt5-5.4-gpl-Py3.4-Qt5.4.0-x64.exe,

download link:

(official website) https://riverbankcompuTIng.com/software/pyqt/download5

(Web) link: http://pan.baidu.com/s/1miKVdOG Password: eqar

installation steps:

1. Install Python 3.4.1, the default installation path: C:\Python34

2. Install PyQt5, it will be installed automatically according to the Python installation path, no need to modify.

3. Test if the installation was successful. Create a py file, write the following code, and pop up the widget window after running to show that the installation is successful.

Import sys

From PyQt5 import QtWidgets, QtCore

App = QtWidgets.QApplicaTIon(sys.argv)

Widget = QtWidgets.QWidget()

Widget.resize(400, 100)

widget.setWindowTItle("This is a demo for PyQt Widget.")

Widget.show()

Exit(app.exec_())

4. If you need PyQT's IDE interface editing tool, install Eric.

Eric is a python, ruby ​​IDE with powerful code and a perfect combination with QT, making it easier to develop Python's graphical interface applications.

Official website: http://eric-ide.python-projects.org/

Download address: http://sourceforge.net/projects/eric-ide/files/eric6/stable/6.0.3/

Other optional download addresses:

Http://nchc.dl.sourceforge.net/project/eric-ide/eric5/stable/5.1.5/eric5-5.1.5.zip

Chinese Chinese package: http://nchc.dl.sourceforge.net/project/eric-ide/eric5/stable/5.1.5/ eric5-i18n-zh_CN.GB2312-5.1.5.zip

Installation: Extract the eric5-5.1.5.zip and eric5-i18n-zh_CN.GB2312-5.1.5.zip files into the corresponding directory, and put all the files in the eric5-i18n-zh_CN.GB2312-5.1.5 folder. Copy to the eric5-5.1.5 folder. Then copy the eric5-5.1.5 folder to the C:\ root directory and click the install.py file in eric5-5.1.5 to install it.

Configuration: Click eric5.bat (first time) or eric5-configure.bat in the Eric installation directory to configure.

Editor—>AutocompaTIon—>Check all the boxes;

QScintilla -> check the left and right boxes, then in the source below, select from Document and API files.

Editor—>APIs—>Check Complie APIs Autocompation, then in Language, select python.

Click the Add from installed APIs button below, select the desired .api file, and finally click Compile APIs.

Ribbon

Custom Co-Based Amorphous Ribbon,New Type Nano Ribbon,Good Fe-Based Amorphous Ribbon,New Type Co-Based Ribbon

Anyang Kayo Amorphous Technology Co.,Ltd. , https://www.kayoamotech.com