天天看點

Ubuntu下安裝配置python3.2.3內建開發環境Eric5

Eric5 是一個內建了項目管理功能的 Python 內建開發環境。提供無限制數量的編輯器、內建的 Python Shell、內建調試器、內建對包括 Subversion 和 Mercurial 版本控制系統的支援。內建單元測試等等。可通過插件系統來進行功能擴充,與 Eric4 相比,Eric5 是基于 Python 3 的變種。

1、下載下傳Eric5、PyQt4、SIP4、QScintilla2、Python3.2安裝包。

Eric5:http://eric-ide.python-projects.org/eric-download.html

PyOt4:http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.9.1.tar.gz

SIP4.13:http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.13.2.tar.gz

Qscintilla2:http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-gpl-2.6.1.tar.gz

Python3.2.3:http://www.python.org/ftp/python/3.2.3/Python-3.2.3.tar.bz2

2、安裝Python3.2.3,解壓安裝包到Python-3.2.3:

  cd Python-3.2.3

        ./configure

         make

        sudo make install

3、利用qmake檢測是否安裝qt4,沒安裝的嘗試以下指令:

sudo apt-get install libqt4-devlibqt4-debug libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designerqt4-qtconfig

4、安裝sip4:

     cd sip-4.13.2

     sudo python3 configura.py

     make

     sudo make install

5、安裝QScintilla2:

      cd QScintilla-gpl-2.6.1

  cd Qt4

  qmake qscintilla.pro

  make

  sudo make install

Python Bindings:

        cd ..

      cd Python

      sudo python3 configure.py

      make

      sudo make install

Qt Designer Plugin:

        cd..

       cd designer-Qt4

qmake designer.pro
      make
      sudo make install

      

6、安裝PyQt4:

      cd PyQt-x11-gpl-4.9.1

      sudo python3 configure.py

      make

      sudo make install

7、安裝Eric5:

      cd eric5-5.2.1

      sudo python3 intall.py

--------------------------------------------------------------------------------

安裝提示:

Checking dependencies

Python Version: 3.2.3

Found PyQt4

Found QtHelp

Found QScintilla2

Qt Version: 4.7.0

PyQt Version: 4.9.1

QScintilla Version: 2.6.1

All dependencies ok.

Compiling user interfacefiles...

Compiling source files...

Installing eric5 ...

Installation complete.

Ubuntu下安裝配置python3.2.3內建開發環境Eric5