RIDE installation in Ubuntu 18.04 LTS

2,512 views
Skip to first unread message

Niket Agrawal

unread,
Jul 27, 2018, 8:48:28 AM7/27/18
to robotframework-users
Hi,

I am trying to install RIDE on Ubuntu 18.04. The version of python I have is python 2.7.15. Since RIDE requires wxPython, I first tried to install version 2.8 of wxPython but it failed (console output shown below)
----------------------------------------
ubuntu@abcuser:~$ sudo apt install python-wxgtk2.8
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
---------------------------------------------

After searching online, I found out that newer versions of Ubuntu support wxPython 3.0 version and I could install it successfully.
However, after installing RIDE, when I tried to launch it by ride.py it gave an error that it will only work with wxPython 2.8.12.1 with unicode (console output below)

ubuntu@abcuser:~$ ride.py
Wrong wxPython version.
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
ubuntu@abcuser:~$

I tried to proceed with installing wxPython 2.8 version from source but couldn't find the correct package. The packages in the link below didn't have the setup.py file

Any help will be appreciated!

Thanks 

Hélio Guilherme

unread,
Jul 27, 2018, 4:39:26 PM7/27/18
to robotframework-users
Please see if my forked version is usable by you (do read about the known bugs). It would probably with the wxPython you have installed but you can see if there are newer oficial packages for your Ubuntu (yes, there is version 4.0.3, start by seeing wxpython.org downloads.

Ruud Prijs

unread,
Jul 30, 2018, 8:07:41 AM7/30/18
to robotframework-users

This is what i did to fix the issue,  I use Ubuntu 17.10

see link: https://askubuntu.com/questions/789302/install-python-wxgtk2-8-on-ubuntu-16-04
  1. echo "deb http://archive.ubuntu.com/ubuntu wily main universe" | sudo tee /etc/apt/sources.list.d/wily-copies.list
    sudo apt update
    
  2. sudo apt install python-wxgtk2.8
    
  3. sudo rm /etc/apt/sources.list.d/wily-copies.list
    sudo apt update
Op vrijdag 27 juli 2018 14:48:28 UTC+2 schreef Niket Agrawal:

Ramandeep kaur

unread,
Nov 27, 2018, 6:20:25 PM11/27/18
to robotframework-users
This worked for me
  1. echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" | sudo tee /etc/apt/sources.list.d/wily-copies.list
    sudo apt update
    
  1. sudo apt install python-wxgtk2.8
    
  2. sudo rm /etc/apt/sources.list.d/wily-copies.list
    sudo apt update

krzysztof...@mobica.com

unread,
Jan 4, 2019, 5:20:12 AM1/4/19
to robotframework-users
I still encounter an issue after adding repository and updating package list. 
I'm trying 

sudo apt install python-wxgtk2.8 

after 

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

and getting same error

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


krzysztof...@mobica.com

unread,
Jan 4, 2019, 6:05:48 AM1/4/19
to robotframe...@googlegroups.com
I managed to fix my error:

manually added 

deb http://archive.ubuntu.com/ubuntu trusty main universe

to

/etc/apt/sources.list     
NOT 
/etc/apt/sources.list.d/wily-copies.list

sudo nano /etc/apt/sources.list
sudo apt update
sudo apt install python-wxgtk2.8 

and it works :) hope it will help someone

Gharred Hana

unread,
Jan 21, 2020, 2:21:15 AM1/21/20
to robotframework-users
sudo gedit /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu trusty main universe
sudo apt update
sudo apt install python-wxgtk2.8

Worked for me thank you.

fft2020

unread,
May 4, 2020, 4:53:01 AM5/4/20
to robotframework-users
This worked for me perfect !!!

I had the same problem as the original poster but nothing else worked

Thank you
Reply all
Reply to author
Forward
0 new messages