Skip to main content

All Questions

Tagged with
-2 votes
1 answer
42 views

linux + network scanner tool that discover Linux rhel machine

we have network lab range from 18.2.1.1 until 18.7.252.253 , and we want to capture only the Linux RHEL machines with version 7.x ( /etc/redhat-release ) , ( we have around 2870 machines and only 390 ...
yael's user avatar
  • 13.4k
0 votes
1 answer
1k views

RHEL 8 + yum complained about dependencies in spite required dependencies exist

we have RHEL 8.4 and we try to install the following rpm yum localinstall ambari-agent-2.6.2.2-1.x86_64.rpm Failed loading plugin "product-id": No module named 'subscription_manager....
yael's user avatar
  • 13.4k
0 votes
0 answers
757 views

Yum is broken after deleting /lib64/python3.6 on CentOS 8

I accidentally removed /lib64/python3.6 which was installed with yum previously. Yum is now broken and i cant install packages. I am running on CentOS8. I installed python3.10 from source. I have ...
trans-sunyu's user avatar
-4 votes
1 answer
2k views

python cannot find python in rhel8

What specific syntax or configuration must be changed to get a RHEL8 vm to successfully run the simple python programs below? PROBLEM DEFINITION: A simple python 3 program uses the subprocess module ...
CodeMed's user avatar
  • 5,269
0 votes
0 answers
166 views

Library Permission Error With Python3

I have RHEL 8 with Python3 installed. I am using an EC2 instance with a hardened RHEL image. When trying to run Python from the CLI or use any apps that use Python I get the following error: python3: ...
Josh's user avatar
  • 111
3 votes
1 answer
2k views

Python not able to see environment variable in RHEL

The following line of code is throwing an environment variable was not found error in a RHEL8 virtual machine running in Azure: sourceKeys = os.environ.get("MY_ENV_VAR") However, when we ...
CodeMed's user avatar
  • 5,269
0 votes
0 answers
695 views

RHEL8 repo does not have python-sphinx package

Can't seem to find python-sphinx packages on freshly installed RHEL8. Previously on CentOS-7 there was an easy way to yum install python-sphinx. Should I be add another repo containing sphinx packages?...
Mark's user avatar
  • 1,823
-1 votes
1 answer
2k views

how to uninstall pip from /usr/local/bin/

we want to uninstall the pip that located on path - /usr/local/bin/pip when we did pip uninstall we get /usr/local/bin/pip uninstall pip Traceback (most recent call last): File "/usr/local/bin/...
yael's user avatar
  • 13.4k
0 votes
0 answers
587 views

pip install with python dependencies problem

we are installing the pip ( pip 20.1.1 ) on our RHEL 7.6 server as tar -xvzf pip-20.1.1.tar.gz -C /install cd /install/pip-20.1.1 python setup.py install we get exception as /usr/lib64/python2.7/...
yael's user avatar
  • 13.4k
1 vote
0 answers
1k views

bash: python3.7: command not found RHEL

So I have installed python 3.7.11 using this guide: https://tecadmin.net/install-python-3-7-on-centos/ Following the guide worked smoothly but when i do python --version or python3 --version i keep ...
RedRum's user avatar
  • 113
0 votes
1 answer
841 views

How to port 'No proxy' setting from Windows to Linux?

I am using corporate Windows 10, and I can access to the Jira system by setting 'No proxy' on the MS Edge. I tried to use the corporate Linux server to access Jira system automatically using Python ...
lhchuopp's user avatar
  • 103
0 votes
1 answer
2k views

Unable to install python 2.7 on RHEL

I am unable to install python 2.7 in my RHEL8. It already bothers me that I cannot find the python package outside of the Centos7 repository, but when I try to install there is a ton of broken ...
Jota Be's user avatar
  • 11
0 votes
1 answer
2k views

Installing pip without internet

I'm installing python3-pip~~.rpm on RHEL7.6 but got an error saying /usr/bin/python3 is needed by python3-pip~~~.noarch python(abi) = 3.6 is needed by python3 ~~~.noarch The system came with python 2....
user67275's user avatar
  • 243
0 votes
1 answer
1k views

Failed dependencies python

Installing python3-setuptools-39.2.0-10.el7.noarch.rpm file by sudo rpm -i command on Red Hat 7.6 without internet access produced an error with messages /usr/bin/python3 is needed by python3-...
user67275's user avatar
  • 243
0 votes
1 answer
565 views

Unable to install/uninstall pip - Linux

When i try to uninstall pip, I am getting the error below $python2.7 -m pip uninstall pip Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in ...
Megatron's user avatar
  • 109

15 30 50 per page
1
2 3 4 5