Python uses pyqt5 configuration

Build Qt5 environment

1. Check the installed version of Python

 

 2. Download Qt5 image (use watercress is a mirror image)

pip install PyQt5 -i https://pypi.douban.com/simple # (- i https://pypi.douban.com/simple) mirror watercress

3. Install Qt5 graphic design tools

pip install PyQt5-tools -i https://pypi.douban.com/simple # Tools included (GUI development tools qt designer, translation tools liguist tools, etc.)

4. Add the environment variable pyqt5

Guess you like

Origin www.cnblogs.com/chen1997/p/12057075.html