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

How to Solve Error: /usr/bin/env: ‘python’: No such file or directory

Personal notes do not guarantee success

1. Error when starting a program

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

2. Solution

1. Check the version of Python 3

python3 --version

2. Find the installation location of python3:

whereis python3

3. Create a symbolic connection for it:

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

4. Try to start again