I am trying to install wxpython onto my Mac OSX 10.8.3. I download the disk images from their downloads page and mount it. When I try to install the package I get an error that saying that the package is damaged and can't be opened. Any suggestions on how I can fix this?
I have also tried opening the package through the terminal but no luck.
Thanks in advance.
The Apple-provided build of Python is installed in /System/Library/Frameworks/Python. framework and /usr/bin/python , respectively.
wxPython-zombie 3.1. 5.5 wxPython-zombie will provide the 64-bit binary extension package (build with Visual Studio 2022) for MS Windows 10/11 and the source package to build for Linux. This is a release for Python 3.10.
This is a known issue: http://trac.wxwidgets.org/ticket/14523.
The wxPython installer was created with an ancient package building tool that is no longer support. 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 was:
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.
Go to System preferences --> Security and privacy --> Allow applications downloaded from..select 'Anywhere'
An other way to install Wxpython: 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)"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With