一言蔽之,搭配是关键.以32位Window为例,先后安装:
1.PyQt
PyQt4-4.10.3-gpl-Py3.3-Qt4.8.5-x32.exe
http://www.riverbankcomputing.com/software/pyqt/download
这个简单,下载后直接双击安装.
如果你选择PyQt4-4.10.3-gpl-Py3.3-Qt5.1.0-x32.exe,那么你将失败.
附开发人员的解释:
Please note that eric5 use with PyQt4/Qt5 is still experimental and does not
support PyQt5/Qt5 at all. Best environment is PyQt4/Qt4.
----------
resolution: -> rejected
status: open -> closed
___________________________________________________________
Eric Issue Tracker <no_reply@eric-ide.python-projects.org>
<http://die-offenbachs.homelinux.org:48888/issues/issue119>
2.Eric5
eric5-5.3.9.zip
http://sourceforge.net/projects/eric-ide/files/eric5/stable/
下载后把它解压,得到文件夹C:\eric5-5.3.9,确保Python在系统变量的PATH内.(我的电脑-属性-高级系统设置-环境变量-系统变量-Path,点击"编辑",看"C:\Python33"在里面没有,没有就加)
打开命令行,cd到C:\eric5-5.3.9,然后运行python install.py.搞定.
附命令行成功运行样例:
Microsoft Windows [版本 6.2.9200]
(c) 2012 Microsoft Corporation。保留所有权利。
C:\Users\Nan>cd C:\eric5-5.3.9
C:\eric5-5.3.9>python install.py
Checking dependencies
Python Version: 3.3.3
Found PyQt4
Found QtHelp
Found QScintilla2
Found QtGui
Found QtNetwork
Found QtSql
Found QtSvg
Found QtWebKit
Qt Version: 4.8.5
PyQt Version: 4.10.3
QScintilla Version: 2.7.2
All dependencies ok.
Cleaning up old installation ...
Creating configuration file ...
Compiling user interface files ...
Compiling source files ...
Installing eric5 ...
Installation complete.
Press enter to continue...