Red Hat Enterprise Linux 6.9 - Cannot Find or Install RPM Python Bindings?

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am running Red Hat Enterprise Linux 6.9, and I cannot find the RPM Python bindings?
I am trying to install rpm-py-installer-0.7.0 and it throws an error:
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
So, I searched the Internet, and found RPM Python bindings, but nothing for RHEL 6...
I tried using pip and yum to install python2-rpm, but it found nothing (the package does not exist).
I need to be able to install python2-rpm so that I can get rpm-py-installer installed.
Here is the code that is failing:
if self.python.is_system_python():
if self.python.is_python_binding_installed():
message = '''
RPM Python binding already installed on system Python.
Nothing to do.
'''
Log.info(message)
raise InstallSkipError(message)
else:
message = '''
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
'''
raise InstallError(message)
Basically...
self.python.is_python_binding_installed()
... is returning false.
rhel software-installation python rpm
add a comment |Â
up vote
1
down vote
favorite
I am running Red Hat Enterprise Linux 6.9, and I cannot find the RPM Python bindings?
I am trying to install rpm-py-installer-0.7.0 and it throws an error:
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
So, I searched the Internet, and found RPM Python bindings, but nothing for RHEL 6...
I tried using pip and yum to install python2-rpm, but it found nothing (the package does not exist).
I need to be able to install python2-rpm so that I can get rpm-py-installer installed.
Here is the code that is failing:
if self.python.is_system_python():
if self.python.is_python_binding_installed():
message = '''
RPM Python binding already installed on system Python.
Nothing to do.
'''
Log.info(message)
raise InstallSkipError(message)
else:
message = '''
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
'''
raise InstallError(message)
Basically...
self.python.is_python_binding_installed()
... is returning false.
rhel software-installation python rpm
1
Have you triedyum install rpm-python? That's in the CentOS6.9 base so I assume it's available on RedHat. It includes the/usr/lib64/python2.6/site-packages/rpmdirectory.
â Stephen Harris
Jun 27 at 22:43
I ranyum install rpm-pythonand it said it was already installed...
â Erik343
Jun 27 at 23:08
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am running Red Hat Enterprise Linux 6.9, and I cannot find the RPM Python bindings?
I am trying to install rpm-py-installer-0.7.0 and it throws an error:
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
So, I searched the Internet, and found RPM Python bindings, but nothing for RHEL 6...
I tried using pip and yum to install python2-rpm, but it found nothing (the package does not exist).
I need to be able to install python2-rpm so that I can get rpm-py-installer installed.
Here is the code that is failing:
if self.python.is_system_python():
if self.python.is_python_binding_installed():
message = '''
RPM Python binding already installed on system Python.
Nothing to do.
'''
Log.info(message)
raise InstallSkipError(message)
else:
message = '''
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
'''
raise InstallError(message)
Basically...
self.python.is_python_binding_installed()
... is returning false.
rhel software-installation python rpm
I am running Red Hat Enterprise Linux 6.9, and I cannot find the RPM Python bindings?
I am trying to install rpm-py-installer-0.7.0 and it throws an error:
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
So, I searched the Internet, and found RPM Python bindings, but nothing for RHEL 6...
I tried using pip and yum to install python2-rpm, but it found nothing (the package does not exist).
I need to be able to install python2-rpm so that I can get rpm-py-installer installed.
Here is the code that is failing:
if self.python.is_system_python():
if self.python.is_python_binding_installed():
message = '''
RPM Python binding already installed on system Python.
Nothing to do.
'''
Log.info(message)
raise InstallSkipError(message)
else:
message = '''
RPM Python binding on system Python should be installed manually.
Install the proper RPM package of python,2,3-rpm.
'''
raise InstallError(message)
Basically...
self.python.is_python_binding_installed()
... is returning false.
rhel software-installation python rpm
edited Jun 28 at 15:25
asked Jun 27 at 21:46
Erik343
112
112
1
Have you triedyum install rpm-python? That's in the CentOS6.9 base so I assume it's available on RedHat. It includes the/usr/lib64/python2.6/site-packages/rpmdirectory.
â Stephen Harris
Jun 27 at 22:43
I ranyum install rpm-pythonand it said it was already installed...
â Erik343
Jun 27 at 23:08
add a comment |Â
1
Have you triedyum install rpm-python? That's in the CentOS6.9 base so I assume it's available on RedHat. It includes the/usr/lib64/python2.6/site-packages/rpmdirectory.
â Stephen Harris
Jun 27 at 22:43
I ranyum install rpm-pythonand it said it was already installed...
â Erik343
Jun 27 at 23:08
1
1
Have you tried
yum install rpm-python ? That's in the CentOS6.9 base so I assume it's available on RedHat. It includes the /usr/lib64/python2.6/site-packages/rpm directory.â Stephen Harris
Jun 27 at 22:43
Have you tried
yum install rpm-python ? That's in the CentOS6.9 base so I assume it's available on RedHat. It includes the /usr/lib64/python2.6/site-packages/rpm directory.â Stephen Harris
Jun 27 at 22:43
I ran
yum install rpm-python and it said it was already installed...â Erik343
Jun 27 at 23:08
I ran
yum install rpm-python and it said it was already installed...â Erik343
Jun 27 at 23:08
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
I assume you can install the package with following command.
yum localinstall rpm-py-installer-0.7.0
In normally, as you know, yum util is getting packages from repositories throughthe network.
But in this case, you have already downloaded rpm-py-installer-0.7.0 from internet to your server, so, designate localinstall command to install from local directory.
However, dependency related errors may occur.
When I run that yum command, I get:Skipping: rpm-py-installer-0.7.0, filename does not end in .rpm.Also, with rpm-py-installer, I managed to compile the tarball, but when I went to install it, it gave the same error about the missing RPM Python bindings.
â Erik343
Jun 28 at 15:12
I inspected the code again and found that the install.py script is looking for the 'rpm-python' or 'rpm' package names in pip. And, it is not there, so it errors out...
â Erik343
Jun 28 at 15:57
add a comment |Â
up vote
0
down vote
I could not find 'rpm-python' package for pip anywhere, but I found a wheel for just 'rpm'.
Here is the link: https://pypi.org/project/rpm/#description
Just install that, then re-install 'rpm-py-installer' and it should have no more errors!
Thanks.
Erik W.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I assume you can install the package with following command.
yum localinstall rpm-py-installer-0.7.0
In normally, as you know, yum util is getting packages from repositories throughthe network.
But in this case, you have already downloaded rpm-py-installer-0.7.0 from internet to your server, so, designate localinstall command to install from local directory.
However, dependency related errors may occur.
When I run that yum command, I get:Skipping: rpm-py-installer-0.7.0, filename does not end in .rpm.Also, with rpm-py-installer, I managed to compile the tarball, but when I went to install it, it gave the same error about the missing RPM Python bindings.
â Erik343
Jun 28 at 15:12
I inspected the code again and found that the install.py script is looking for the 'rpm-python' or 'rpm' package names in pip. And, it is not there, so it errors out...
â Erik343
Jun 28 at 15:57
add a comment |Â
up vote
1
down vote
I assume you can install the package with following command.
yum localinstall rpm-py-installer-0.7.0
In normally, as you know, yum util is getting packages from repositories throughthe network.
But in this case, you have already downloaded rpm-py-installer-0.7.0 from internet to your server, so, designate localinstall command to install from local directory.
However, dependency related errors may occur.
When I run that yum command, I get:Skipping: rpm-py-installer-0.7.0, filename does not end in .rpm.Also, with rpm-py-installer, I managed to compile the tarball, but when I went to install it, it gave the same error about the missing RPM Python bindings.
â Erik343
Jun 28 at 15:12
I inspected the code again and found that the install.py script is looking for the 'rpm-python' or 'rpm' package names in pip. And, it is not there, so it errors out...
â Erik343
Jun 28 at 15:57
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I assume you can install the package with following command.
yum localinstall rpm-py-installer-0.7.0
In normally, as you know, yum util is getting packages from repositories throughthe network.
But in this case, you have already downloaded rpm-py-installer-0.7.0 from internet to your server, so, designate localinstall command to install from local directory.
However, dependency related errors may occur.
I assume you can install the package with following command.
yum localinstall rpm-py-installer-0.7.0
In normally, as you know, yum util is getting packages from repositories throughthe network.
But in this case, you have already downloaded rpm-py-installer-0.7.0 from internet to your server, so, designate localinstall command to install from local directory.
However, dependency related errors may occur.
answered Jun 28 at 10:02
go-emon
111
111
When I run that yum command, I get:Skipping: rpm-py-installer-0.7.0, filename does not end in .rpm.Also, with rpm-py-installer, I managed to compile the tarball, but when I went to install it, it gave the same error about the missing RPM Python bindings.
â Erik343
Jun 28 at 15:12
I inspected the code again and found that the install.py script is looking for the 'rpm-python' or 'rpm' package names in pip. And, it is not there, so it errors out...
â Erik343
Jun 28 at 15:57
add a comment |Â
When I run that yum command, I get:Skipping: rpm-py-installer-0.7.0, filename does not end in .rpm.Also, with rpm-py-installer, I managed to compile the tarball, but when I went to install it, it gave the same error about the missing RPM Python bindings.
â Erik343
Jun 28 at 15:12
I inspected the code again and found that the install.py script is looking for the 'rpm-python' or 'rpm' package names in pip. And, it is not there, so it errors out...
â Erik343
Jun 28 at 15:57
When I run that yum command, I get:
Skipping: rpm-py-installer-0.7.0, filename does not end in .rpm. Also, with rpm-py-installer, I managed to compile the tarball, but when I went to install it, it gave the same error about the missing RPM Python bindings.â Erik343
Jun 28 at 15:12
When I run that yum command, I get:
Skipping: rpm-py-installer-0.7.0, filename does not end in .rpm. Also, with rpm-py-installer, I managed to compile the tarball, but when I went to install it, it gave the same error about the missing RPM Python bindings.â Erik343
Jun 28 at 15:12
I inspected the code again and found that the install.py script is looking for the 'rpm-python' or 'rpm' package names in pip. And, it is not there, so it errors out...
â Erik343
Jun 28 at 15:57
I inspected the code again and found that the install.py script is looking for the 'rpm-python' or 'rpm' package names in pip. And, it is not there, so it errors out...
â Erik343
Jun 28 at 15:57
add a comment |Â
up vote
0
down vote
I could not find 'rpm-python' package for pip anywhere, but I found a wheel for just 'rpm'.
Here is the link: https://pypi.org/project/rpm/#description
Just install that, then re-install 'rpm-py-installer' and it should have no more errors!
Thanks.
Erik W.
add a comment |Â
up vote
0
down vote
I could not find 'rpm-python' package for pip anywhere, but I found a wheel for just 'rpm'.
Here is the link: https://pypi.org/project/rpm/#description
Just install that, then re-install 'rpm-py-installer' and it should have no more errors!
Thanks.
Erik W.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I could not find 'rpm-python' package for pip anywhere, but I found a wheel for just 'rpm'.
Here is the link: https://pypi.org/project/rpm/#description
Just install that, then re-install 'rpm-py-installer' and it should have no more errors!
Thanks.
Erik W.
I could not find 'rpm-python' package for pip anywhere, but I found a wheel for just 'rpm'.
Here is the link: https://pypi.org/project/rpm/#description
Just install that, then re-install 'rpm-py-installer' and it should have no more errors!
Thanks.
Erik W.
answered Jun 28 at 23:50
Erik343
112
112
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f452311%2fred-hat-enterprise-linux-6-9-cannot-find-or-install-rpm-python-bindings%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Have you tried
yum install rpm-python? That's in the CentOS6.9 base so I assume it's available on RedHat. It includes the/usr/lib64/python2.6/site-packages/rpmdirectory.â Stephen Harris
Jun 27 at 22:43
I ran
yum install rpm-pythonand it said it was already installed...â Erik343
Jun 27 at 23:08