Link to home
Start Free TrialLog in
Avatar of Nishanth kumar
Nishanth kumar

asked on

Not able to install python-wxgtk2.8 in Ubuntu 16.04.2 LTS ,selenium automation in robot framework

root@stack-ThinkCentre-M83:~# sudo apt-get install python-wxgtk2.8

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-wxgtk2.8 is already the newest version (2.8.12.1+dfsg2-2ubuntu2+1~webupd8~xenial0).
0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up logstash (1:5.5.2-1) ...
sed: can't read /etc/logstash/logstash.yml: No such file or directory
/etc/logstash/startup.options is not a file path
To manually specify a startup style, put the path to startup.options as the
first argument, followed by the startup style (sysv, upstart, systemd)
dpkg: error processing package logstash (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 logstash
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@stack-ThinkCentre-M83:~#
Avatar of Louis LIETAER
Louis LIETAER
Flag of France image

Hi for python is not a good habit to install package thru apt-get.

prerequisite sudo apt-get install build-essential libssl-dev libffi-dev python-dev

install pip is not install => : https://itsfoss.com/install-pip-ubuntu/

install venv : sudo apt install -y python3-venv

Set your virtual environment and install packages with pip => pip install neededpack
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.