Python – Reffffference https://ivan.reallusiondesign.com For my personal reference purposes Sun, 30 Aug 2020 21:22:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 106465655 Ubuntu 20.04 Command ‘python’ not found https://ivan.reallusiondesign.com/ubuntu-20-04-command-python-not-found/ https://ivan.reallusiondesign.com/ubuntu-20-04-command-python-not-found/#disqus_thread Sun, 30 Aug 2020 21:22:48 +0000 https://ivan.reallusiondesign.com/?p=1021 Canonical decided to move to python 3 for Ubuntu 20.04, which is great, you can start it with the command python3.

However there is programs that look for /usr/bin/python and this is not a binary found on the server.

So how do you solve this little problem? The idea behind that is that you might need either python 2 or python 3 for your programs so you can install either of them to be the default one, with two respective packages called:

python-is-python3 and python-is-python2

If you try to just install python, what will install python2 and python-is-python2, so your default python interpreter will use python 2.

Another not so elegant solution is to just link python to python3 like this:

ln -fs /usr/bin/python3 /usr/bin/python

]]>
https://ivan.reallusiondesign.com/ubuntu-20-04-command-python-not-found/feed/ 0 1021