Install wxPython on Mac os Mavericks

后端 未结 4 1283
广开言路
广开言路 2020-12-16 01:19

I am on a Macbook Air, running Mavericks. Today I downloaded wxPython via their website, however, when I click on the install package I get:

wxPython3.0-osx-         


        
4条回答
  •  隐瞒了意图╮
    2020-12-16 02:16

    Use brew* to install wxmac using the following command.

    brew install --python wxmac --devel

    once you install the wxmac create a symbolic link between the installed wx to the python library.

    sudo ln -s /usr/local/Cellar/wxmac/2.9.4.0/lib/python2.7/site-packages/wx /Library/Python/2.7/site-packages/wx

    I Hope it will be helpful for future installers.

    *if you do not have Brew installed prior, install it using the following command: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

提交回复
热议问题