All Questions
68 questions
0
votes
1
answer
39
views
How to install DNF packages using Yum when Python packages are in a different location
We have a RHEL 8.10 server, and the default location for Python packages is under /usr/lib/python3.6/site-packages/. This includes, of course, the DNF packages located at /usr/lib/python3.6/site-...
-2
votes
1
answer
43
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 ...
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....
0
votes
0
answers
1k
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 ...
-4
votes
1
answer
3k
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 ...
0
votes
0
answers
218
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: ...
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 ...
0
votes
0
answers
863
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?...
-1
votes
1
answer
3k
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/...
0
votes
0
answers
791
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/...
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 ...
0
votes
1
answer
966
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 ...
0
votes
1
answer
3k
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 ...
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....
0
votes
1
answer
2k
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-...