from Tkinter import *
root = Tk()
# Error: Can't find a usable init.tcl in the following directories:
C:/Python25/lib/tcl8.4 {C:/Program Files/Autodesk/Maya2008/lib/
tcl8.4} {C:/Program Files/Autodesk/lib/tcl8.4} {C:/Program Files/
Autodesk/Maya2008/library} {C:/Program Files/Autodesk/library} {C:/
Program Files/Autodesk/tcl8.4.12/library} {C:/Program Files/tcl8.4.12/
library}
This probably means that Tcl wasn't installed properly.
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "C:\Python25\lib\lib-tk\Tkinter.py", line 1636, in __init__
#
self.tk = _tkinter.create(screenName, baseName, className,
interactive, wantobjects, useTk, sync, use)
# TclError: Can't find a usable init.tcl in the following
directories:
# C:/Python25/lib/tcl8.4 {C:/Program Files/Autodesk/Maya2008/lib/
tcl8.4} {C:/Program Files/Autodesk/lib/tcl8.4} {C:/Program Files/
Autodesk/Maya2008/library} {C:/Program Files/Autodesk/library} {C:/
Program Files/Autodesk/tcl8.4.12/library} {C:/Program Files/tcl8.4.12/
library}
#
#
#
# This probably means that Tcl wasn't installed properly.
It fails when I assign Tk() to root, but not when I import Tkinter,
kinda strange, any sugestions?
It happen when I use the maypy shell or the maya script editor, but
the standard shell that comes with python25 works as expected.