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 trialKerrick Hahn
5,728 PointsHow do I install the latest python package (I think 3.7?) and the pip install package on my atom IDE?
Not sure if I asked this question correctly, but in my atom terminal I can not run f'strings because it is still running on Python 2.7.
Additionally, I can't pip install anything because I guess the pip install package is not downloaded.
I've googled how to install both of these, yet to no avail.
I use Atom as my text editor/IDE - if someone could give some kind of step-by-step or insight into how to get the latest python and pip install package on here, that'd be heavily appreciated.
Thanks in advance!!!
Megan Amendola
Treehouse TeacherBenjamin Dahlhoff is correct. Python 2.7 is usually the version of Python your computer comes with but you have to actually download Python to get the newer version + pip. If you haven't installed Python yet, you'll want to do that first and then configure Atom using Peter Vann 's info below.
2 Answers
Peter Vann
36,427 PointsPeter Vann
36,427 PointsThis might help, too:
Peter Vann
36,427 PointsAlso, if you have both Python 2.x and 3.x installed on your system, whether in your normal terminal or the one in your IDE, if you want to explicitly run your python script with Python 3, run it like this:
python3 script_name.py
I hope that helps.
Stay safe and happy coding!
benjamind
6,442 Pointsbenjamind
6,442 PointsTo my understanding, python and pip are installed on the operating system, not inside Atom.