pydev - Tcl wasn't properly installed on Anacondas -
i have new install of anaconda python 3.3, , using pydev.
when try use tkinter with
from tkinter import tk master = tk() # create tk root widget, window
i following message
_tkinter.tclerror: can't find usable init.tcl in following directories: c:/anaconda/envs/p33/lib/tcl8.5 c:/anaconda/envs/lib/tcl8.5 c:/anaconda/lib/tcl8.5 c:/anaconda/envs/library c:/anaconda/library c:/anaconda/tcl8.5.11/library c:/tcl8.5.11/library
this page (http://mail.python.org/pipermail/python-list/2011-march/599573.html) suggests need change tcl_library environment variable. not know how that.
how can make tkinter work build?
this isn't proper solution, got work copying folders
c:\anaconda\envs\p33\tcl\tcl8.5 c:\anaconda\envs\p33\tcl
to
c:\anaconda\envs\p33\lib
Comments
Post a Comment