tkinter not installed properly in Anaconda Python 2.7 Win64

10,848

I am using Anaconda2 64bit and tkinter does indeed work, as I use it frequently. It might be something simple: can you import the package into your program? Try import Tkinter instead, i.e. with a capital 'T'.

Share:
10,848
user2312900
Author by

user2312900

Updated on June 04, 2022

Comments

  • user2312900
    user2312900 about 2 years

    I believe from this post that this is not an uncommon issue with tkinter and new downloads of Python 2.7 (after re-downloading from 2016 on). I am using the Anaconda 2.7 for win64 on a Windows 7 machine. The filepaths seem almost identical to what is described here, except for "Anaconda2" instead of "Python27"; the "tcl" folder is in it's own directory in C:/Users/user:2312900/tcl and not in the "lib" directory.

    Is there any way to fix this for Anaconda? That I tried what was described in the post, but it didn't work for me.

    Is there any way to manually install a 64bit python 2.7 compatible wheel for tkinter? Does anyone know of any other packages to make simple GUI's with Python if this is an irreconcilable issue with the Annaconda distribution. I have a lot of other packages that were painfully installed that I do not want to use something else.