How to install Python 3 on a Chromebook


Today we are looking at how to install Python 3 on a Chromebook.   This method will also install additional packages that you need to use python as a programming environment. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

If you are looking for a good text editor to go along with Python, look here

We also installed Pip in this tutorial, which you can install additional development tools, with
pip3 install package_name

If you have any questions, please contact us via a YouTube comment and we would be happy to assist you!

Please take note that with the release of Chrome OS 90,  the location of Linux Apps has been changed in the Chromebook’s settings.  Have a look at this tutorial, to see how to turn on Linux apps and then continue with the installation tutorial.

Commands Used:
1) sudo apt update
2) sudo apt dist-upgrade -y
3) sudo apt install python3 python3-pip build-essential libssl-dev libffi-dev python3-dev -y
4) python3 --version


The commands are based on this:

We are on social media! For announcements, content release updates (across all our projects), and much more, please join our Reddit community!
https://www.reddit.com/r/linuxmadesimple/

All Currently Supported Chromebooks with Linux Apps (Crostini) support


Have a look at our Chromebook comparison and Buyers Guide!

Join our mailing list to be notified about all major Chromebook Sales.

Comments