Ask coding questions

← Back to all posts
Python Command in Bash Starts Python 3.8 Instead of Python 2.7
ZacharyRude

In bash, when I type python and then hit Enter on the keyboard, it starts Python 3.8 instead of Python 2.7. Similarly, when I type python3 and then hit Enter, it starts Python 3.8 instead of Python 3.6. Why is this happening on Replit, and how do I tell it to start Python 2.7 and Python 3.6 instead of Python 3.8?

Voters
ZacharyRude
Comments
hotnewtop
ch1ck3n

this is for python 2.7 https://replit.com/new/python

idk about 3.6 (you know, 3.8 is pretty much the same as python 3.6 but with more features!)