Can't find Python executable "python", you can set the PYTHON env variable. python3.9 ubunut code example
Example: error: can't find python executable "python", you can set the python env variable.
apt-get update
apt-get install python2.7
ln -s /usr/bin/python2.7 /usr/bin/python