After loading a Python program into Geany (v1.36) under Ubuntu 20.04.1, it won’t run after pressing F5 and the following error message appeared in the terminal window:
/tmp/geany_run_script_LXQSU0.sh: 7: python: not found
It worked fine until I upgraded from Ubuntu 18.04.5 to 20.04.1 approximately six weeks ago. How may I resolve this? Thanking you all in advance for any solution(s).
Thank you. Your suggestion of installing Python 3 resulted in its already being installed. However, Python 2 got installed. Strange, but Python 2 and 3 are already listed in the hard drive. Ran Geany and still got the same message as I already stated before with the exception of 7S11U0 displayed for Python 2 and N0AAV0 for Python 3.
Hey, that last entry of “sudo ln -s /usr/bin/python3 /usr/bin/python”
did the trick. THANKS! The entry of “;s -l /usr/bom/python” did came up with a similar entry such as yours. Again, mucho thanks.
Thanks but I am not familiar with the placement of script(s) in the computer. However, due to the suggestion from another use, there were no link to python anywhere. Hey, thanks for your response.