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 trialPankaj Kumar
40 PointsI want to install python in my local machine. Please help
I am using ubutnu machine and eant to install python on local machine. And which system windows or linux is beeter for python?
2 Answers
Steven Parker
231,275 PointsAre you sure you don't have it? I understand Python normally comes pre-installed on Ubuntu.
But if not, it's probably just a matter of using this command:
sudo apt-get install python3
And the language works equally well on both platforms, so a windows/linux decision should probably be based on other factors.
Mahdi Jafari
17,887 PointsHi there,
If you have ubuntu installed on your machine by default it supposes to have python in it. However, you can check that by :
python ββversion
If it's not installed you can use :
sudo apt update
sudo apt install software-properties-common
sudo apt update
sudo apt install python3.8
python ββversion
The last command will show you the python version installed on your computer. anyway if you had more issues here is the link to the site which has few ways to install the python on ubuntu.
Charlie Campisi
187 PointsCharlie Campisi
187 Pointsyou can get it here https://www.python.org/downloads/