Hi Team,
I am facing one problem while running yum command. While runnning yum command I am getting below error:
-bash: /usr/bin/yum: /usr/libexec/platform-python: bad interpreter: No such file or directory.
While running subscription-manager, it is giving below error:
ModuleNotFoundError: No module named 'pkg_resources'
I changes which I made is to remove the python3.6 file. python3.11 is currently install on server and i am able to use python3 without any issue.
Is there any configuration by which I can point yum/subscription-manager to python3.11 and resolve this issue?
Thank You
@PD102 It seems you have removed the system python interpreter which essentially made your YUM command go berserk!!
Do you have a backup - you can roll back.
Also, refer here for the support catalogue :
You can migrate to RHEL 9 and see if it helps you, otherwise if you have the RH support you can ask them for any patch if that is what made you delete it in the first place.
Refer here for alternatives : https://access.redhat.com/solutions/5380941
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.