/usr/bin/env: ‘python’: No such file or directory

yum install python3
sudo ln -s /usr/bin/python3 /usr/bin/python