RIDE setup on linux - Unable to install wxPython - linux

I am trying to set RIDE framework on linux.
I have installed the essential software-
Python2.7.8
pip
RobotFramework 2.8.4
Facing issue while installing wxPython.
sudo yum install python-wxgtk2.8
Gave the following error:
Setting up Install Process
No package python-wxgtk2.8 available.
Error: Nothing to do
same for python-wxgtk3.0
Also tried sudo yum install wxPython
default installed wxPython.x86_64 0:2.8.12.0-1.el6 package and on running ride.py getting below error-
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/
Need proper commands to execute wxPython in linux that successfully executes
ride.py.

Related

Failed to build gem native extension installing p4ruby Net::ReadTimeout with #<Socket:fd 9> (Net::ReadTimeout)

I´m trying to install the p4ruby gem on our RHEL 7.9 server and I keep getting the "failed to build gem native extension" error.
Here is what the log contains this message:
have_library: checking for -lsupc++... -------------------- no
I have installed the Development Tools with
yum group install "Development tools"
And I´m using RVM with Ruby Version 2.7.1.
What am I missing?
Edit:
Thanks to Knud Larsens hint
yum install gcc-c++ libstdc++-static
fixed the previous issue.
But the building still doesn´t work
`rbuf_fill': Net::ReadTimeout with #<Socket:fd 9> (Net::ReadTimeout)
is what I get now.

Can't install azure cli on centos

I am trying to install azure-cli on centos 7 box. I am getting this error repeatedly
Error: Package: azure-cli-2.0.80-1.el7.x86_64 (azure-cli)
Requires: libpython3.6m.so.1.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried to execute both commands but none of these worked for me.
Acturally, Azure CLI requires python3, it's even an executable Python package azure-cli which you can find in PyPI.org. So please make sure there is a Python 3 runtime installed in your CentOS 7.
If you want to fix your issue manually, you can try to download and install the related rpm package for Libpython3.6m.so.1.0()(64bit) from https://pkgs.org/download/libpython3.6m.so.1.0()(64bit), as the figure below.
However, the best way is to follow the offical tutorial Install Azure CLI with yum to install it in CentOS 7.
Otherwise, the other solution is as below to directly install its python package via pip.
Please check whether the Python 3 runtime had been installed in CentOS 7 via command python3 -V or python -V to see the Python version or system will remind you to install it.
Please check whether the pip or pip3 command for Python 3 runtime had been installed via pip3 -V or pip -V to see the pip version or system will remind you to install it.
Completed the two steps above, you can easily to install azure-cli via command sudo pip3 install azure-cli or sudo pip install azure-cli, it will help to install azure-cli to the system path, then you can try to use it via az --version.
You can install it by mentioning the repo/package URL
sudo yum install https://packages.microsoft.com/yumrepos/azure-cli/azure-cli-2.38.0-1.el7.x86_64.rpm
packages can be found here https://packages.microsoft.com/yumrepos/azure-cli/

Compiling module using SDK throws warning message: libelf-dev not found

We have customized intel core-i7-64 machine and we developed Yocto Image and SDK for the hardware.
After sourcing the environment script and running "make modules_prepare", I get the following warning:
Makefile:956: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
The same error happens when I compile out of tree modules. How can i remove this error. What all packages should we need to add to avoid this.
Install libelf-dev and elfutils package. If you are using ubuntu or any debian variant then use the following command to install them.
sudo apt install libelf-dev

Can't exec qmake

I'm using Ubuntu v.14.04 LTS
I had on my computer qt 5.5 but I needed an other version. Then I tried to install qt 5.7.1.
After a few issues because I didn't delate qt5.5 before installing the new one, I saw on a forum that I had to delate the file qt in /usr/lib/x86_64-linux-gnu.
I tried to reinstall qt5.7.1 but the error message apears: qmake: could not exec 'usr/lib/x86_64-linux-gnu/qt5/bin/qmake' because the install is not creating any qt5 file in usr/lib/x86_64-linux-gnu/
Then I tried the command line : sudo apt-get install qt5-qmake but it says everything is already update.
I lauched the command sudo apt-get --reinstall install qt5-qmake, and then qmake has worked.
But when i launch on my app i have the same issue than before:
Project MESSAGE: Qt version 5.2.1
Project ERROR: Unsupported Qt version, 5.5+ is required
every results correspond to a 5.2.1 version : https://image.noelshack.com/fichiers/2017/29/4/1500551296-capture-du-2017-07-20-13-36-09.png
I have launch " sudo dpkg -i qt5-qmake_5.7.1+dfsg-2ubuntu4~1_amd64.deb" that i had downloaded. But it says i have dependencies problems in qt5-qmake:amd644 =>
in qtchooser (=> 55....) whereas mine is 39...
and in libstdc++6 (>=4.9) whereas mine is 4.8.4...

Step by step: Installing Python 3.3, Lighttpd & Pymongo on Ubuntu 12.04

I'm currently migrating to new computer and I need to reinstall the software I am using which are:
Python 3.3,
Lighttpd (newest version),
Pymongo (newest version),
Ubuntu 12.04 Desktop (The System I'm using)
I started to install Python 3.3 by downloading it from the its official website (in tar.bz2 file) and by following this tutorial. Afterwards I installed Lighttpd and changed the lighttpd.conf for Python by following this tutorial, too.
I tried several paths for my cgi.assign, none of them worked. Especially /opt/python3.3/bin/python3.3 should be working, but it shows 500 - internal Server error all the time with a "hello world" test script.
Now regardless to this problem I have no clue on installing Pymongo. If I try to intall pip OR easy_install python3.3 I have to manually download it and execute the setup.py with my python3.3 executable, right? Because this always fails with an error:
`Error missing zlib on a bundle called distribute-0.7.3 (is this even the right tool I need, because it seems to be a legacy wrapper !?) or unknown url type: https for pymongo2.6.2 itself.`
I'm getting crazy with this setup. Why is this so difficult to handle? Other programs are just a few clicks to install even on a system like Ubuntu, but these particular development tools seem to be really difficult to install.If anybody has an idea on how to install all three together or has information on a better solution please help me out.
The system is used to program Python scripts in Eclipse and trying them out directly on the system (lighttpd). The database used is MongoDB. Python and MongoDB are communicating over the Pymongo driver. I am planning to use the system on a Server distribution on release and it has to be nicely scalable on a high amount of excecutions.
Thanks for your time,
It's easiest to use the Ubuntu repositories:
sudo apt-get update
sudo apt-get install python3 python3-pip lightppd python-pymongo
Or if that only installs the python2.x pymongo, use pip, which you've just installed:
sudo pip-3.3 install pymongo
Or better yet, use a virtualenv with the help of virtualenvwrapper (docs)
sudo pip install virtualenvwrapper
... # follow instructions for installing virtualenvwrapper
mkvirtualenv --python=/usr/bin/python3 -i pymongo mongoppd
workon mongoppd
... which will segregate the environment I've called 'mongoppd' from the rest of your system so you can't cause any trouble. Then you don't need sudo to pip-3.3 install things, just workon mongoppd then pip-3.3 install [...]. Or after the -i flag when you create the virtualenv to get it installed straight away.
In general, on Ubuntu, you should hardly ever have to install something manually. Your first attempt should be using sudo apt-get install (use tab-complete to see what's available or just google "ubuntu 12.04 packages [...]" and you'll find the list of packages). Then for python use pip install or pip-3.3 install as appropriate. You'll only need to run python setup.py install if you need to install a development version of a package or something obscure that's not on pip. I don't think there's a good reason to ever use easy_install these days.

Resources