Attempting to install wxpython on Mac OSX

I am trying to install wxpython on my Mac OSX 10.8.3. I download disk images from the download page and mount them. When I try to install a package, I get a message that the package is damaged and cannot be opened. Any suggestions on how I can fix this?

I also tried opening the package through the terminal, but no luck.

Thanks in advance.

+6
source share
3 answers

This is a known issue: http://trac.wxwidgets.org/ticket/14523 .

The wxPython installer was created using an ancient package building tool that no longer supports. The workaround is to install from the command line:

sudo installer -pkg /Volumes/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.7/wxPython2.8-osx-unicode-universal-py2.7.pkg/ -target / 

The output I got from this is:

 installer: Package name is wxPython2.8-osx-unicode-universal-py2.7 installer: Installing at base path / 2013-06-27 00:23:38.157 installer[9373:5a03] Package /Volumes/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.7/wxPython2.8-osx-unicode-universal-py2.7.pkg uses a deprecated pre-10.2 format (or uses a newer format but is invalid). installer: The install was successful. 
+9
source

Go to System Settings โ†’ Security and Privacy โ†’ Allow Downloading Applications from ... Select "Anywhere"

+8
source

Another way to install Wxpython: Use brew * to install wxmac using the following command.

brew install --python wxmac --devel

After installing wxmac, create a symbolic link between the installed wx and 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 this will be useful for future installers.

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

+1
source

Source: https://habr.com/ru/post/945380/


All Articles