Trying to install python36-devel on RHEL7, ends up getting error
Tried resolving the dependencies as stated in error, but no help.
Also tried this How to install python3-devel on red hat 7, which also ended up in same error
yum install python36-devel
Error:
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package python36-devel.x86_64 0:3.6.8-1.el7 will be installed
--> Processing Dependency: python36 = 3.6.8-1.el7 for package: python36-devel-3.6.8-1.el7.x86_64
Package python36-3.6.8-1.el7.x86_64 is obsoleted by python3-3.6.8-10.el7.x86_64 which is already installed
--> Processing Dependency: python36-libs(x86-64) = 3.6.8-1.el7 for package: python36-devel-3.6.8-1.el7.x86_64
Package python36-libs-3.6.8-1.el7.x86_64 is obsoleted by python3-libs-3.6.8-10.el7.x86_64 which is already installed
--> Finished Dependency Resolution
Error: Package: python36-devel-3.6.8-1.el7.x86_64 (epel)
Requires: python36-libs(x86-64) = 3.6.8-1.el7
Installed: python3-libs-3.6.8-10.el7.x86_64 (@rhui-REGION-rhel-server-releases)
python36-libs(x86-64) = 3.6.8-10.el7
Available: python36-libs-3.6.8-1.el7.x86_64 (epel)
python36-libs(x86-64) = 3.6.8-1.el7
Error: Package: python36-devel-3.6.8-1.el7.x86_64 (epel)
Requires: python36 = 3.6.8-1.el7
Installed: python3-3.6.8-10.el7.x86_64 (@rhui-REGION-rhel-server-releases)
python36 = 3.6.8-10.el7
Available: python36-3.6.8-1.el7.x86_64 (epel)
python36 = 3.6.8-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
yum
doesn't like downgrading packages unless you explicitly tell him to.
python36-devel
requires python36-libs
with the exact same version number. You have however python36-libs
installed with a higher version number. You have two options:
yum
can only find an older version of python36-devel
, logically you should be able to find python36-devel-3.6.8-10
in the same repository where you installed python36-libs
from (@rhui-REGION-rhel-server-releases).python36-libs
to the same version as the python36-devel
you are trying to install.To downgrade and install python36-devel
:
yum downgrade python36-libs-3.6.8-1.el7.x86_64
yum install python36-devel
or even in one single operation might work:
yum swap -- downgrade python36-libs-3.6.8-1.el7.x86_64 -- install python36-devel
As of Aug 23rd, 2019, I found the following workaround to deal with python36-3.6.8-1 in ol7_developer_EPEL repo lagging behind python36-3.6.8-10 in ol7_latest.
yum install -y gcc openssl redhat-rpm-config
&& yum-config-manager --disable ol7_latest
&& yum install -y python36 python36-devel python36-setuptools
&& pip3 install -r requirements.txt
&& python3 setup.py install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With