There are a lot of things to be said about this. Firstly, just note that it seems to be either a problem with wxpython, or the package in the Ubuntu repos is out of date.
So you said you installed wxPython from the repos, so since you are on 16.04 I assume you have python-wxgtk3.0 ? What’s you’re output for these two commands?:
sudo dpkg --get-selections | grep python-wk
That should give you the name of the package you have installed. Then just for the record to show what version it is run:
sudo apt-cache policy <packageName>
So a little googling turned up that this bug (or if not this one a very similar one) was fixed a couple of years ago, at least for some version of the software:
The question is if the repos are up to date. If the repos have the broken version a bug report should be filed.
Unfortunately, wxpython is apparently not doing so great in the documentation department. This page about using the ppa is really out of date.
That ppa is actually offline.
In lieu of installing something like anaconda, or reporting and waiting for a fix, I see three ways forward, each with their own caveats. For all of these you should first uninstall python-wxgtk3.0 (I’m assuming that’s what you have):
You could try downgrading to python-wxgtk2.8 (I think that’s the one before this version. I’m on Ubuntu 14.04 and that’s what was installed on my machine). I think you could install the deb file, downloading it from here (click on the right link for your architecture): http://packages.ubuntu.com/trusty/python-wxgtk2.8
sudo dpkg -i <debFile>
You might have to install some dependencies. Hopefully this doesn’t just create different problems.
Other than that maybe pip or installing from source? If it were me and it wasn’t an emergency, I would try to see if they could fix the bug, or if the repos are out of date, report it. Maybe start here for help:
Report a bug for the repos here: https://launchpad.net/distros/ubuntu/+source/wxpython3.0/+bugs
This is a forum for wx, they would probably know more: https://forums.wxwidgets.org/