I have an EC2 instance on which I was trying to install spark.I removed the required system python version from the system by mistake and nothing relying on python seems to work now including
yum and other system tools.
I need to fix the broken
python version in my EC2 Linux(Centos).
Below is the error I get when I try to use yum
-bash: /usr/bin/yum: /usr/bin/python2.7: bad interpreter: No such file or directory
I guess, I deleted a required version of python.