Issues running python on Linux
From KoanSoftware Wiki
Revision as of 08:57, 8 June 2023 by Koan (talk | contribs) (Created page with "== Issues running python on Linux == In some cases you may have issues using '''python''' like the following /usr/bin/env: ‘python’: No such file or directory This may...")
Issues running python on Linux
In some cases you may have issues using python like the following
/usr/bin/env: ‘python’: No such file or directory
This may be a typical Python misconfiguration that ca be verified with the following commands
ls /usr/bin/python* -al
which python python2 python3
And can be solved with this command
sudo ln -fs /usr/bin/python3 /usr/bin/python