When I try to install wxPython, it shows an error:
> The Installer could not install the software because there was no > software found to in
Here are steps I successfully used to install wxPython 'Classic' (not 'Phoenix').
OSX 10.11 or newer can not run that installer you tried, but this method will work.
cd /pathToYourGitHubSources/wxPython
and run the following command:python build-wxpython.py --build_dir=../bld --osx_cocoa --install
installed_files.txt
to see what directories wxPython*
files are in, as well as the location of /wx/*.py
and /lib/*.pyc
files. The three directories are probably like:/usr/lib/python2.7/site-packages
/usr/lib/python2.7/site-packages/wx
/usr/lib/python2.7/site-packages/wx/lib
From terminal command line set environment and test wx:
export PYTHONPATH='/usr/lib/python2.7/site-packages/wx'
export DYLD_LIBRARY_PATH='/usr/lib/python2.7/site-packages/wx/lib'
python
import sys
import wxversion
try:
wxversion.select(['3.0.3'])
except wxversion.VersionError:
print "wx version failed detection"
sys.path.insert(0, '/usr/lib/python2.7/site-packages')
import wx
print wx.version()
If the wx version printed, it's working.
Some systems have other versions of wxPython or vestiges of old wxPythons installed that have led me to need setting the environment as seen above until the old pieces are cleaned off the system.