转载:Ubuntu 12.04下安装配置Python 2.7集成开发环境Eric4
来源:互联网 发布:centos 7登录 编辑:程序博客网 时间:2024/06/01 22:53
文章出处:http://hi.baidu.com/deacys/item/22d831e51bebfcf5e0a5d41f
由于网上很少有linux安装eric4的详细教程,大部分说得别人一头雾水。(没办法谁让别人是牛人,自己不是呢。)
所以找了很久后,总算安装上了,现在把安装的过程记录下来。留着以后自己重装系统的时候看。
话说,好记性不如烂笔头。
一、
安装SIP,是一个将python和c/c++库关联起来的工具,也是pyqt的依赖工具
http://www.riverbankcomputing.com/software/sip/download
make
注意:这里如果有g++:命令未找到的错误,那就是没有安装g++编译器,运行以下命令来安装:
sudo apt-get install g++
应该就好了,如果还没好,再安装这个:
sudo apt-get install pentium-builder
继续下一步
sudo make install
注意make有没有error,如果有Python.h未找到错误,说明没有安装对应python版本的dev包,解决方法是
当然你的python是什么版本就装什么
此外make install后包文件和解压的文件夹斗可以删除二、
输入:
sudo apt-get install libqt4-dev libqt4-debug libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig
如果提示libqt4-debug被引用。那就用libqt4-dbg替换掉。回车安装
三、安装QScintilla2:
地址:http://www.riverbankcomputing.com/software/qscintilla/download
cd QScintilla-gpl-2.7.1
cd Qt4Qt5
qmake qscintilla.pro
make
sudo make install
cd..
cd example-Qt4Qt5
qmake application.pro
make
Qt Designer Plugin:
cd..
cd designer-Qt4Qt5
qmake designer.pro
make
make install
四、安装PyQt4:
地址:http://www.riverbankcomputing.com/software/pyqt/download
cd PyQt-x11-gpl-4.10.1
sudo python3 configure.py
+++++++++++++++这里会问+++++++++++++++
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4.10.1 (licensed under the GNU General Public
License) for Python 2.7.3 on linux2.
Type '2' to view the GPL v2 license.
Type '3' to view the GPL v3 license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.
Do you accept the terms of the license?
输入YES,没办法,,NO就不让你装了
+++++++++++++++++++++++++++++++++++++
make
六、Python Bindings:
cd cd QScintilla-gpl-2.7.1
cd Python
sudo python configure.py
make
sudo make install
+++提示。如果configure.py无法make,,不妨用configure-old.py来make++++++++++++
五、安装Eric4:
地址:http://eric-ide.python-projects.org/eric-download.html
cd cd eric4.5.10
sudo python intall.py
--------------------------------------------------------------------------------
Checking dependencies
Python Version: 2.7.3
Found PyQt4
Found QtHelp
Found QScintilla2
Qt Version: 4.8.1
PyQt Version: 4.10.1
QScintilla Version: 2.7.1
All dependencies ok.
Compiling user interface files...
Compiling source files...
Installing eric4 ...
Installation complete.
++++++++++++如果要安装中文的话。记得下载eric的时候,一定要下载这个包eric4-i18n-zh_CN.GB2312-X.X.X.tar.gz+++++
x是你下载的eric版本。
另附:此处我已将第二步外的包下载共享到云盘里,找不到源的童鞋可到此处,「任君自取」
- 转载:Ubuntu 12.04下安装配置Python 2.7集成开发环境Eric4
- Ubuntu 12.04下安装配置Python 2.7集成开发环境Eric4
- Ubuntu 12.04下安装配置Python 2.7集成开发环境Eric4
- Ubuntu 12.04下安装配置Python 2.7集成开发环境Eric4
- ubuntu14.04 配置python开发环境 eric4
- Python Eric4安装配置
- Python Eric4安装配置
- Ubuntu下安装配置Python 3.2.3集成开发环境Eric5
- Ubuntu 12.04 -python 2.7 安装Eric4和gensim
- Ubuntu下安装配置python3.2.3集成开发环境Eric5
- ubuntu下安装opencv及qtcreator集成开发环境配置
- Ubuntu14.04下Python集成开发环境Anaconda安装配置
- Win7下搭建Python开发环境[py+pyqt4+Eric4]
- Win7下搭建Python开发环境[py+pyqt4+Eric4]
- Win7下搭建Python开发环境[py+pyqt4+Eric4]
- Win7下搭建Python开发环境[py+pyqt4+Eric4]
- Win7下搭建Python开发环境[py+pyqt4+Eric4]
- Win7下搭建Python开发环境[py+pyqt4+Eric4]
- 选项卡组件和ListView组件结合模拟新浪微博
- C语言指针转换为intptr_t类型
- 诺基亚
- 同步代码块和方法wait()、notify()的深入解析
- 使图片自动移动的方法
- 转载:Ubuntu 12.04下安装配置Python 2.7集成开发环境Eric4
- Quartz 框架 教程(中文版)2.2.x 之第四课 更多关于Triggers
- 设计模式之6大原则(6)开闭原则
- OCP-1Z0-051 第40题 视图的注意事项
- 智能硬件的一些新奇玩意儿
- Linux中的查找命令
- wq2fewtg
- Maven安装及配置 (windows)
- FwqghyTRK