
#Sudo apt get install python3 tk install#
This should pop up a small window the first line at the top of the window should say "This is Tcl/Tk version 8.5" make sure it is not 8.4!Ģ) Uninstall 64-bit Python and install 32 bit Python. 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. Note, selecting python3-tk instead of python3.9-tk python3-tk is already the newest version (3.8.10-0ubuntu120.04). On Linux all I needed to do was sudo apt-get install python3-tk. From the prompt, enter these two commands: > import tkinter I have just installed python 3.9, but it doesnt come with tkinter apparently. After quite a while I finally realized that I needed to install the python-tk package.

This should give you the Python command prompt.

From a Windows command prompt, or the Start Menu's "Run." command, you should then be able to run a Python shell via: % C:\python32\python After updating apt database, We can install python3-tk using apt-get by running the following command: sudo apt-get -y install python3-tk.
#Sudo apt get install python3 tk update#
You'll end up with a fresh install of ActivePython, located in, e.g. Update apt database with apt-get using the following command. Installing python3-tk package on Ubuntu is as easy as running the following command on terminal: sudo apt-get update sudo apt-get install python3-tk. Make sure you're downloading a 3.1 or newer version, not a 2.x version. sudo apt-get install python-tk python3-tk tk-dev Then install the version of Python I wanted via pyenv: pyenv install 3.6.2 Then I could import tkinter just fine: import tkinter Share. In your web browser, go to, and follow along the links to download the Community Edition of ActivePython for Windows.

We recommend installing the "ActivePython" distribution from ActiveState, which includes everything you'll need. It is important that you use a version of Python supporting Tk 8.5 or greater, and ttk. Tkinter (and, since Python 3.1, ttk) are included with all standard Python distributions. Note that the camera option adds support for processing images from Cozmos camera. To install the SDK, type the following into the Terminal window: n pip3 install -user cozmocameran n. 1) Follow the Docs-Tkinter install for Python ( for Windows): sudo apt install python3-pipn n n Last, install Tkinter: n sudo apt-get install python3-pil.imagetkn n n n n SDK Installation n.
