cancel
Showing results for 
Search instead for 
Did you mean: 
PD102
Cadet
Cadet
  • 20 Views

yum command not working after removing python3.6 files from server

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

Labels (1)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.