pythonpython-idlegoogle-chrome-os

Is there a way to launch python idle via command line on ChromeOS's linux terminal?


I have been searching for a way to use python on my ChromeOS laptop, I can get the python3 command working but cannot find a way to open IDLE.

The commands that are tradiditionally used such as python -m idlelib have failed to do anything.

Please tell me if im doing something wrong.

I currently do not know how I got python on my laptop. I believe it came with it.


Solution

  • You can, but you first have to turn on linux mode, You can find how to do that here: https://support.google.com/chromebook/answer/9145439?hl=en

    Then, enter the following commands in the order they are gievn, you will have to type them in manually:


    sudo apt-get update

    sudo apt-get install python3

    sudo apt-get install idle-python3

    to install pip, to install librarys, use this:

    sudo apt-get install python3-pip