Skip to content

Python3

Python has become one of the most popular and versatile programming languages in the world, valued for its simplicity, readability, and powerful libraries. From web development and data analysis to artificial intelligence and automation, Python is a go-to language for both beginners and seasoned developers.

With the integration of Linux (Crostini) on ChromeOS, Python 3 can now be seamlessly installed and used on Chromebooks, opening the door to a wide range of programming opportunities. This guide is designed to help you set up Python 3 on your ChromeOS device, enabling you to write, test, and run Python scripts directly from your Chromebook. This guide will also setup the Pip Package Manager to allow you to easily install and manage dependencies

Whether you're a student starting your coding journey or a developer looking to use Python on a lightweight, portable device, this tutorial will provide you with everything you need to get started. Let’s turn your Chromebook into a powerful coding environment for Python 3. It is strongly advised to also setup Git to manage your source code and Visual Studio Code to act as your IDE.

Installing Python3 on ChromeOS

You can install Python3 on a Intel or AMD based ChromeOS device by running the following on the ChromeOS Linux Terminal

sudo apt update
sudo apt install python3 python3-pip

You can install Python3 on a ARM/ARM64 based ChromeOS Device by running the following on the ChromeOS Linux Terminal

sudo apt update
sudo apt install python3 python3-pip