How to Install Tkinter

Tkinter (Tk) is a Python default GUI and comes with the Python installation on Linux, Mac, and Windows. Since Tk comes with most Python installations, you don't generally need to install it yourself. Since Python 2 and Python 3 vary so...
Method 1 of 3:

Installing on macOS

  1. How to Install Tkinter Picture 1How to Install Tkinter Picture 1
    Go to https://www.activestate.com/products/activetcl/tcl-tk-modules. Active State provides the community with free downloads.
  2. How to Install Tkinter Picture 2How to Install Tkinter Picture 2
    Download the free community edition of ActiveTcl 8.6. You may be prompted to create a free account to download. You'll just need to provide your email and create a password to continue.
  3. How to Install Tkinter Picture 3How to Install Tkinter Picture 3
    Run the installer. You'll need to unpack the file from the download folder before running it. Just drag and drop the application into the Applications folder. When you're done, you'll have an application called 'Wish 8.6' inside the Utilities folder of your Applications folder.
  4. How to Install Tkinter Picture 4How to Install Tkinter Picture 4
    Launch Wish 8.6. You'll see 2 windows open. One is titled 'Console' and the other is titled 'Wish.' You can type commands in 'Console.'
  5. How to Install Tkinter Picture 5How to Install Tkinter Picture 5
    Type % info patchlevel and press Return. You should see something like '8.6.9.' This shows the currently installed version.
Method 2 of 3:

Installing on Windows

  1. How to Install Tkinter Picture 6How to Install Tkinter Picture 6
    Go to https://www.activestate.com/products/activetcl/tcl-tk-modules. Active State provides the community with free downloads, but it also sells programming tools to companies.
  2. How to Install Tkinter Picture 7How to Install Tkinter Picture 7
    Download the free community edition of ActiveTcl 8.6. You may be prompted to create a free account to download. You'll just need to provide your email and create a password to continue.
  3. How to Install Tkinter Picture 8How to Install Tkinter Picture 8
    Run the installer. You'll normally find it in your Downloads folder. When you're done, you'll have a TCL install in C:TCL if you didn't change the default location.
  4. How to Install Tkinter Picture 9How to Install Tkinter Picture 9
    Open Command Prompt. You can do this by searching 'Cmd' in the Start Menu's search bar.
  5. How to Install Tkinter Picture 10How to Install Tkinter Picture 10
    Run Wish. The command to start it depends on where you installed Wish.
    1. For example, if you used the default location when you downloaded ActiveTcl from the site, type % C:Tclbinwish86. Two windows will open. One is titled 'Console' and the other is titled 'Wish.'
  6. How to Install Tkinter Picture 11How to Install Tkinter Picture 11
    Type % info patchlevel and press Enter. You should see something like '8.6.9," which is the current installed and running version.
Method 3 of 3:

Installing on Linux

  1. How to Install Tkinter Picture 12How to Install Tkinter Picture 12
    Go to https://www.activestate.com/products/activetcl/tcl-tk-modules/. Active State provides the community with free downloads, but it also sells programming tools to companies.
  2. How to Install Tkinter Picture 13How to Install Tkinter Picture 13
    Download the free community edition of ActiveTcl 8.6. You may be prompted to create a free account to download. You'll just need to provide your email and create a password to continue.
  3. How to Install Tkinter Picture 14How to Install Tkinter Picture 14
    Run the installer. You'll need to unpack the file from the download folder before running it. Just drag and drop the application into the Applications folder.
  4. How to Install Tkinter Picture 15How to Install Tkinter Picture 15
    Press Ctrl+Alt+T to open a Terminal window.
  5. How to Install Tkinter Picture 16How to Install Tkinter Picture 16
    Type % /opt/ActiveTcl-8.5/bin/wish8.6 to run Wish. A window will pop up titled 'Wish 8.6.'
  6. How to Install Tkinter Picture 17How to Install Tkinter Picture 17
    Type % info patchlevel and press Enter. This is to check the version of Wish you are running.[1]
3.8 ★ | 4 Vote