&gt; python 2 executable is named python while python 3 is python3<p>Nope, not quite. Python 2 is named python2 and python 3 is named python3, on every system I am aware of. &#x27;python&#x27; is ambiguous and can be linked to either [1]. I know at least on Arch Linux, python links to python3, and I have run into a handful of scripts that break by assuming python is always linked to python2.<p>[1] <a href="https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0394&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0394&#x2F;</a>