error in installing knife-ec2 plugin - knife

While installing knife-ec2 plugin.I am facing the following issue:
root#ip-10-ggg-ff-abc:/opt/chef/embedded/bin# gem install knife-ec2
ERROR: Error installing knife-ec2:
mime-types requires Ruby version >= 1.9.2.

I think the error is very clear...
One of the gems for knife-ec2 requires a certain Ruby version (1.9.2 or higher). You are running a version of Ruby less than 1.9.2. Upgrade the Ruby in your omnibus package or use a Ruby version manager to install a newer Ruby.

Related

how to install python 3.9.6 using homebrew on Mac m1

Im new to programming and stuff and was looking to install python 3.9.6 using home-brew. To do that would I just have to type in brew install python#3.9 into the terminal, or is there some other way? Thanks!
You can't ensure a specific version 3.9.6 with brew package python#3.9. Homebrew is a package manage designed to get latest pacakge. python#3.9 will be kept updating to the latest patch version 3.9.x.
If you REALLY to stick with specific python version, choose conda (miniconda is preferred) or pyenv.

Requires: python(abi) = 3.6 on Centos 7 when installing iRedMail

Hello to all the community.
I am currently installing an email system on our online cloud server using the iRedMail solution.
I followed the official procedure via the ./iRedMail.sh file. The problem is that some packages require a dollar which it cannot find. Python verion 3.6 (abi) it seems.
Here is the error message:
--> Finished Dependency Resolution Error: Package: python36-sqlalchemy-1.1.3-3.el7.x86_64 (epel)
Requires: python(abi) = 3.6
Installed: python-2.7.5-68.el7.x86_64 (installed)
Details about my centos distribution :
I think we should install python (abi) 3.6 but I am wondering the correct procedure to point the installation to the new python (3.6) library for installation.
Thank you to all of you...
The capability python(abi) = 3.6 is provided by python3 package from the base CentOS 7 repository.
In all likelihood, you have disabled it.
The following should work:
yum install python3
If it cannot locate package, investigate repo configurations under /etc/yum.repos.d/ and enable the base repo.

Unable to install robotframework-ride in ubuntu

I am trying to install robotframwrok-ride in ubuntu18.04 but getting "could not find a version satisfies the requirement Pywin32" error.
please help me to get the ride installed.
That problem is fixed in the next release, which is 1.7.4.
You can install the Beta version by following the instructions in the release notes, https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-1.7.4.rst
You can also install the current development version, which includes more fixes.
pip install -U https://github.com/robotframework/RIDE/archive/master.zip
(edit)
The version 1.7.4 has been released on December the 24th, 2019.
You can install (after having installed wxPython) with:
sudo pip install robotframework-ride

Poltergeist 1.9.0 w/Ruby 1.9.3

The doc says that Poltergeist 1.9.0 should work with Ruby 1.9.3 or higher, but I'm getting an install error when I try to install Poltergeist 1.9.0 on Ubuntu with Ruby 1.9.3. Is there a workaround other than upgrading Ruby?
PS. I'm also using Cucumber 1.3.19 and Capybara 2.4.4.
# gem --version
1.8.23
# ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
# gem install poltergeist
ERROR: Error installing poltergeist:
mime-types-data requires Ruby version >= 2.0.
# gem install poltergeist 1.9.0
Fetching: poltergeist-1.9.0.gem (100%)
Fetching: mini_portile2-2.0.0.rc2.gem (100%)
Fetching: mime-types-data-3.2016.0221.gem (100%)
ERROR: Error installing poltergeist:
mime-types-data requires Ruby version >= 2.0.
ERROR: Could not find a valid gem '1.9.0' (>= 0) in any repository
Add mime-types to your Gemfile with a < 3.0 version restriction

Installing application and requires python-tornado 2.2.0

I'm trying to install an rpm package.
It keeps saying Requires: python-tornado >= 2.2.0
I have installed tornado 3.2 but the problem still exist.
How can I resolve this issue?
python-tornado is the correct RPM for the tornado web framework written in Python.
Did you install tornado 3.2 with pip or with an rpm? RPM doesn't know about things installed with pip, so you'll need an RPM version of tornado to use with this rpm (or install whatever you're trying to install here with pip instead of rpm)

Resources