Issue installing python-wxgtk2.8

Hello everyone,

I’m trying to get SITL working on my computer. This is a Windows 10 machine running Ubuntu 16.04 LTS in VirtualBox. I am on this step:

sudo apt-get install python-matplotlib python-serial python-wxgtk2.8 python-wxtools python-lxml
sudo apt-get install python-scipy python-opencv ccache gawk git python-pip python-pexpect
sudo pip install future pymavlink MAVProxy

It returns the following in the terminal:

[sudo] password for bobt: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-wxgtk2.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-wxgtk2.8' has no installation candidate

So it would appear that this bit of code is outdated. Anyone know how to get around this? Sorry for the noob questions, I’m very new to all of this.

Thank you.

The package has changed name in recent versions of Ubuntu. Try with python-wxgtk.

Thank you for the reply. I ended us using python-wxgtk3.0 instead and it seems to be working.

1 Like