您的位置:首页 > 编程语言 > Python开发

Eric+python安装记录

2011-10-29 22:34 465 查看
想玩玩python, 选择了Eric的IDE

1:

版本:python-3.2.2     eric5-5.1.6     PyQt-Py3.2-x86-gpl-4.8.6-1  

PyQt的下载地址是: 我下的是二进制的安装包. http://www.riverbankcomputing.co.uk/software/pyqt/download

不确认是否一定会需要QT, 他的下载文件好大,在线安装也需要9G的空间. 不知道有没有二进制的编译好的安装包.

有的说需要,有的说不需要.

2:安装phthon到D:\python3.2目录

3:安装pyqt, 目录自动填好的是D:\python3.2

3:解压PyQt后, 运行install.py,窗口的输出如下:

Checking dependencies

Python Version: 3.2.2

Found PyQt4

Found QtHelp

Found QScintilla2

Qt Version: 4.7.4

PyQt Version:  4.8.6

QScintilla Version:  2.5.1

All dependencies ok.

Compiling user interface files...

Compiling source files...

Installing eric5 ...

Installation complete.

Press enter to continue...

4:现在在安装目录D:\python3.2目录下已经多了Eric5.bat了,运行即可

5:运行后会弹出设置窗口, 将Editor下的自动补全打开(选中), source选择from Document and API files

6:选择Editor->APIs, 选择自动编译API, 语言选择python3 然后Add from installed API, 随后编译API即可,一会完成.

现在可以打开一个py文件了,F2运行即可

后面的还没学习,还得摸索啊
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息