When getting the error "no python found" even after
sudo apt-get install python
"python is already the newest version."
https://stackoverflow.com/questions/3655306/ubuntu-usr-bin-env-python-no-such-file-or-directory
If Python 3 is not installed, install it: sudo apt-get install python3
Then, a good option is to install sudo apt install python-is-python3
Or, invoke python3 instead of just python. Or, create a symlink
whereis python3
sudo ln -s /usr/bin/python3 /usr/bin/python
No comments:
Post a Comment