<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 嵌入式系統 > 設計應用 > Python PyQt5工具在Windows平臺上的安裝方法

Python PyQt5工具在Windows平臺上的安裝方法

作者: 時(shí)間:2017-10-11 來(lái)源:網(wǎng)絡(luò ) 收藏

Windows平臺:win7-64bit

本文引用地址:http://dyxdggzs.com/article/201710/365585.htm

Python版本:Python 3.4.1

下載地址:

(官網(wǎng))https://www..org/downloads/release/-343/

(網(wǎng)盤(pán))鏈接: http://pan.baidu.com/s/1geKjgdH 密碼: hjnf

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

下載地址:

(官網(wǎng))https://riverbankcompuTIng.com/software/pyqt/download5

(網(wǎng)盤(pán))鏈接: http://pan.baidu.com/s/1miKVdOG 密碼: eqar

安裝步驟:

1. 安裝Python3.4.1,默認安裝路徑:C:Python34

2. 安裝PyQt5,會(huì )根據Python的安裝路徑自動(dòng)進(jìn)行安裝,不需要修改。

3. 測試安裝是否成功。創(chuàng )建一個(gè)py文件,寫(xiě)入以下代碼,運行后彈出widget窗口就說(shuō)明安裝成功了。

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. 如果需要PyQT的IDE界面編輯工具,要安裝Eric。

Eric是一款,ruby的IDE,其代碼功能強大,與QT完美結合,使開(kāi)發(fā)Python的圖形界面應用程序變得更加容易。

官方網(wǎng)站:http://eric-ide.python-projects.org/

下載地址:http://sourceforge.net/projects/eric-ide/files/eric6/stable/6.0.3/

其他可選擇的下載地址:

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

中文漢化包:http://nchc.dl.sourceforge.net/project/eric-ide/eric5/stable/5.1.5/ eric5-i18n-zh_CN.GB2312-5.1.5.zip

安裝:解壓eric5-5.1.5.zip和eric5-i18n-zh_CN.GB2312-5.1.5.zip文件解壓到相應的目錄中,將eric5-i18n-zh_CN.GB2312-5.1.5文件夾中的文件全部拷貝至eric5-5.1.5文件夾中。再將eric5-5.1.5文件夾復制到C:根目錄下,點(diǎn)擊eric5-5.1.5中的install.py文件進(jìn)行安裝。

配置:點(diǎn)擊Eric安裝目錄中的eric5.bat(首次)或eric5-configure.bat進(jìn)行配置。

Editor—>AutocompaTIon—>勾上所有的選框;

QScintilla—>勾上左右的兩個(gè)選框,然后在下面source中,選擇from Document and API files.

Editor—>APIs—>勾上Complie APIs Autocompation,然后在Language中,選擇python。

點(diǎn)面下面的Add from installed APIs按鈕,選擇需要的.api文件,最后點(diǎn)擊Compile APIs。



關(guān)鍵詞: python pyqt5

評論


相關(guān)推薦

技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>