1. 程式人生 > >在樹莓派(Debian系統)上安裝wxPython

在樹莓派(Debian系統)上安裝wxPython

第一步:匯入Key

curl http://apt.wxwidgets.org/key.asc | sudo apt-key add -

第二步:將下面指令追加到檔案 /etc/apt/sources.list

    # wxWidgets/wxPython repository at apt.wxwidgets.org
    deb http://apt.wxwidgets.org/ DIST-wx main
    deb-src http://apt.wxwidgets.org/ DIST-wx main  

第三步:更新

sudo apt-get update

第四步:安裝

sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n