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!

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:

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.