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!
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 trial

Josh Keenan
19,651 PointsChange python interpreter in Terminal
Hey guys, my python interpreter in my terminal has defaulted to 3.5.2 but I want to change it to 3.6.2, does anyone have any ideas of how I could do this?
2 Answers

Michael Hulet
47,908 PointsThe usual way to do this is to just install the new version of Python on top of the old version. You can download the new version from the official downloads page

Josh Keenan
19,651 PointsThanks, but I already have them both installed, I should have been a bit clearer.

Josh Keenan
19,651 PointsI have managed to resolve it but I am not sure how I did it.. I will not complain though!

Josh Keenan
19,651 PointsJust realised that the problem lies with the Vagrant VM I am running and that it is running Python 3.5.2 whereas my system runs 3.6.2 and therefore some modules aren't there for the VM Python but are for when I build stuff.
Josh Keenan
19,651 PointsJosh Keenan
19,651 PointsTo clarify I have both versions installed already and have been using 3.6.2 as my interpreter in Pycharm for a while now, but just realised that in my terminal my version is 3.5.2 still