From my Notebook >

How to fix python command not found in Ubuntu 20.04

I ran sudo python scriptname.py and it didn’t work:

python: command not found

Here is the fix:

sudo apt-get install python-is-python3

This installed a package that fixed the problem.