Ubuntu: Install python-wxgtk2.8 on Ubuntu 16.04



Question:

Does anybody know how to install python-wxgtk2.8 on Ubuntu 16.04?

Is needed for ride (robot framework)

Thank you in advance!


Solution:1

Take a turn, you are in the wrong direction!

The correct way is move on with newer release. But for side packages like this one, you can always install builds from older releases. If APT didn't raise any unmet dependencies. Tested on VBox with Ubuntu 16.04.

  1. Add needed repository and update package list

    echo "deb http://archive.ubuntu.com/ubuntu wily main universe" | sudo tee /etc/apt/sources.list.d/wily-copies.list  sudo apt update  
  2. Install it

    sudo apt install python-wxgtk2.8  
  3. Remove repository entry and update package list again

    sudo rm /etc/apt/sources.list.d/wily-copies.list  sudo apt update  

Note:

Following this method on large scale can lead to unmet dependency hell. So keep in mind this is similar to PPA's. To solve issues with following packages, purge them:

libgstreamer-plugins-base0.10-0  libgstreamer0.10-0  libwxbase2.8-0  libwxgtk-media2.8-0  libwxgtk2.8-0  python-wxgtk2.8  python-wxversion  


Solution:2

You can download packages from previous version at http://packages.ubuntu.com/, in this case you need http://packages.ubuntu.com/trusty/python-wxgtk2.8.

I usually choose the closest Ubuntu distro version that has the needed packages and download those. It's better to avoid it, but sometimes one can't.


Solution:3

This was able to resolve this problem by doing this

sudo add-apt-repository ppa:nilarimogard/webupd8  

Update the package index:

 sudo apt-get update  

Install python-wxgtk2.8 deb package:

sudo apt-get install python-wxgtk2.8  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »