Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPeter Byriel
9,643 PointsWhy does "python" in terminal start python 2?
I installed the latest version without any trouble at all. But noticed that in Terminal I need to type python3 to get the newest version to run, otherwise the terminal starts python 2.7.something.
Was wondering if there is a standard way to change this?
3 Answers
Kenneth Love
Treehouse Guest TeacherBecause Mac comes with a Python already installed, just not the one we want to be using. The Mac installer uses python3
because overriding the system Python can produce some horrible effects.
Peter Byriel
9,643 Pointsok, so what you're saying is "DO NOT TAMPER WITH IT" :-) Thanks :-)
Sungbae Park
9,389 Pointsseems like there's a way to override to the newest version of python... you sure it's not recommended to change it?