I'm having trouble doing a yum install of Elassandra on RedHat Enterprise Linux (RHEL) 8.1. I'd earlier had success doing such an Elassandra install on a previous RHEL version. The same happens whether I download the latest elassandra.rpm and do the yum install of that, or if I do yum install by specifying the RPM repo to download from.
Here's what I see:
Error:
Problem: conflicting requests
- nothing provides python >= 2.7 needed by elassandra-6.8.4.5-1.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
It's worth noting that RHEL 8.1 comes with no operational python comand so as not to create confusion between Python 2 and Python 3:
https://developers.redhat.com/blog/2019/05/07/what-no-python-in-red-hat-enterprise-linux-8/
So I do install Python 2.7:
yum install @python27
And then I select the installed Python:
alternatives --config python
And this works:
>which python
/usr/bin/python
>python --version
Python 2.7.17
(Note that I'm doing everything as sudo.)
But then, when I try to do the yum install of Elassandra, I still get the same error.
I'm assuming the Python requirement is for cqlsh. How can I get back this?
I do have a fallback option. I have an RHEL 7.7 image I can use. Chances are, I won't see the problem there, but if that is the case, it seems like the problem should be eminently fixable on RHEL 8.1.
P.S. I acknowledge that this issue may have less to do with Elassandra than with Python and the OS. But I can ask the question here and update things on my end if I make progress.