Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Default for what? The python command should never refer to Python 3 in the first place. You should be able to invoke Python 2 and Python 3 easily with python2 and python3 respectively anyway.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
python
command should never refer to Python 3 in the first place. You should be able to invoke Python 2 and Python 3 easily withpython2
andpython3
respectively anyway.