Skip to content Skip to sidebar Skip to footer

How Can I Use Tkinter On A Chromebook?

Is there any extensions, apps, or online applications that would allow me to use Tkinter on a Chromebook? I'm trying to make a GUI for a program I've written and Tkinter seems nice

Solution 1:

You can use tkinter in Chromebook, just follow these steps:

  1. Install Ubuntu in Chromebook, check this link about How to Install Ubuntu on Chromebook.
  2. After Installing Ubuntu, Now check if you have python or not. Open command terminal, type

    python
  3. If you have not installed Python. Open command terminal and type

    sudo apt-get install python3
  4. Now for installing tkinter module type

    sudo apt-get install python3-tk
  5. Now check both python and tkinter from terminal by type

    python3
    Python 3.5.1 (default, Sep 26 2013, 03:20:26)
    [GCC 4.7.3] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from tkinter import *
    >>> root = Tk()

Post a Comment for "How Can I Use Tkinter On A Chromebook?"