开发环境路径1
参考:https://blog.csdn.net/richenyunqi/article/details/80302884
1.1
python.org/downloads/release/python-362/ 下载Windows x86-64 executable installer 也就是 python-3.6.2-amd64.exe
1.2
pip install pyqt5
1.3测试 写1.py
import sys
from PyQt5.QtWidgets import QWidget, QApplication
if __name__ == '__main__':
app = QApplication(sys.argv)
w = QWidget()
w.show()
w.setWindowTitle("Hello PyQt5")
sys.exit(app.exec_())
可以看到效果了。
开发环境路径2
参考:https://mp.weixin.qq.com/s/0PBLpyf-NyQq8RRQ0_B-pw
1.2准备:
anaconda.exe:https://www.anaconda.com/download/
PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x32-2.exe:https://sourceforge.net/projects/pyqt/files/PyQt5/
eric6.exe:http://eric-ide.python-projects.org/eric-download.html
1.2安装