1

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, but I use Cloud9 which doesn't allow for graphics.

EDIT: I have an administrative lock on my Chromebook which makes me unable to install Ubuntu, which is why I need an online application, Chrome extension, or Chrome app.

Pro Q
  • 4,391
  • 4
  • 43
  • 92
  • 1
    Install Linux on the Chromebook. Then you'll have a proper OS with a window manager. – OneCricketeer Apr 12 '16 at 16:34
  • Similar question (not a dupe, IMO): http://stackoverflow.com/questions/29551187/python-2-x-or-3-x-on-a-chromebook – emartinelli Apr 12 '16 at 16:39
  • @Martinelli Yes, I saw that question, but I decided I needed to ask my own because I can't install Ubuntu (see my new edit). – Pro Q Apr 13 '16 at 03:16

1 Answers1

2

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()
Manindra Gautam
  • 387
  • 3
  • 8