Skip to main content
deleted 1 character in body
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 266

Trying to create an RPM that uses Python 2.7 ohon a RHEL 6 machine. I'm using SCL to enable Python2.7 and building the RPM with it fine. However, when I try to install that RPM on a different system after enabling Python 2.7 (scl enable python27 bash then yum localinstall myrpm.rpm), I receive an error stating:

Requires: python(abi) = 2.7 Installed: python-2.6.6-64 python(abi) = 2.6 

Is there something I need to add in the spec file when building the RPM to fix this issue. Or, or is the issue related to the environment on the machine I'm attempting to install the RPM?

Trying to create an RPM that uses Python 2.7 oh a RHEL 6 machine. I'm using SCL to enable Python2.7 and building the RPM with it fine. However, when I try to install that RPM on a different system after enabling Python 2.7 (scl enable python27 bash then yum localinstall myrpm.rpm), I receive an error stating:

Requires: python(abi) = 2.7 Installed: python-2.6.6-64 python(abi) = 2.6 

Is there something I need to add in the spec file when building the RPM to fix this issue. Or is the issue related to the environment on the machine I'm attempting to install the RPM?

Trying to create an RPM that uses Python 2.7 on a RHEL 6 machine. I'm using SCL to enable Python2.7 and building the RPM with it fine. However, when I try to install that RPM on a different system after enabling Python 2.7 (scl enable python27 bash then yum localinstall myrpm.rpm), I receive an error stating:

Requires: python(abi) = 2.7 Installed: python-2.6.6-64 python(abi) = 2.6 

Is there something I need to add in the spec file when building the RPM to fix this issue, or is the issue related to the environment on the machine I'm attempting to install the RPM?

Source Link

Enable SCL python27 so other RPMs can see it

Trying to create an RPM that uses Python 2.7 oh a RHEL 6 machine. I'm using SCL to enable Python2.7 and building the RPM with it fine. However, when I try to install that RPM on a different system after enabling Python 2.7 (scl enable python27 bash then yum localinstall myrpm.rpm), I receive an error stating:

Requires: python(abi) = 2.7 Installed: python-2.6.6-64 python(abi) = 2.6 

Is there something I need to add in the spec file when building the RPM to fix this issue. Or is the issue related to the environment on the machine I'm attempting to install the RPM?