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.

Comments

  1. how do i open up python after i finished all the steps?

    ReplyDelete
    Replies
    1. have you figured it out yet?

      Delete
    2. i have the same question, theirs no app icon for it soo

      Delete
    3. if you type in "menulibre" and press enter you will be brought up to a menu then go into the programming section and then press on python then it should show a command that you can copy and paste into terminal and press enter and then it is now python.

      Delete
    4. you might have to install menulibre first though and I forgot how to do that. :(

      Delete
  2. you type python3 in the terminal and press enter to launch python

    ReplyDelete

Post a comment