[python] wxPython安裝

By alexhuang

From http://figaro.neo-info.net/?p=41

wxPython:http://www.wxpython.org

安裝方式:

  1. 請先確認系統已經安裝了Python 2.4以上的版本
  2. 從wxPython網站上下載最新的版本 Source Code
  3. 解壓縮與編譯程式:
    [root@hcserver tmp] # tar zxvf wxPython-src-2.6.2.1.tar.gz
    [root@hcserver tmp] # cd wxPython-src
    [root@hcserver wxPython-src] # ./configure –prefix=/opt/wx
    [root@hcserver wxPython-src] # make
    [root@hcserver wxPython-src] # make -C contrib/src/animate
    [root@hcserver wxPython-src] # make -C contrib/src/gizmos
    [root@hcserver wxPython-src] #make -C contrib/src/stc
    [root@hcserver wxPython-src] # make install
    [root@hcserver wxPython-src] # make -C contrib/src/animate install
    [root@hcserver wxPython-src] # make -C contrib/src/gizmos install
    [root@hcserver wxPython-src] # make -C contrib/src/stc install
    [root@hcserver wxPython-src] # cd wxPython
    [root@hcserver wxPython] # python setup.py WX_CONFIG=”/opt/wx/bin/wx-config –no-rpaht” build_exe build install

Leave a Reply