wxPython 2.6.2.1在 redhat上 安装

安裝了兩天的 wxPython 總算成功了,大致上整理了一下安裝的流程做個紀錄與說明,有需要的朋友可以參考看看。不過,在安裝的過程中建議不要進行其它的作業,不然會讓整體的安裝時間拖的很長。

系統平台:RedHat Linux 7.3 with AMD XP 1.6G
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

  4. 完工

转载于:https://my.oschina.net/zhengyijie/blog/225075

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值