Tix + Python + Windows?
mpeuser at web.de
Wed Aug 13 09:32:26 CEST 2003
Yea - same problem some weeks ago. It seems to be a corrupted TCL script of
just minor significance.
I just deleted that line and the next braced section....
You need no tcl knowledge for that - just some feeling ;-)
No problem so far, but I do not use TIX tjat often - it was a try with PAGE
"Josh" <pushpin at media.mit.edu> schrieb im Newsbeitrag
news:8bf5dfd1.0308121544.30d1c565 at posting.google.com...
> I've been trying to get Tix running with Python on Windows. Since
> there is no binary distributions of Tix for Windows, it seems the
> easiest way to install Tix is through IDiscovery's IDEStudio 1.9
> (http://starship.python.net/crew/mike/Idle/). This went fine and I
> ran the "Install Tix into Python" option at the end of the
> installation, with the target Python installation being the Python 2.2
> I just mentioned. I also ran the "Run Tix demos" option at the end of
> the installation, which also worked fine and presented the usual
> tixwidgets.py demo. However, when I tried running
> >>> import Tix
> >>> root = Tix.Tk()
> from a Python 2.2 prompt, I got the following error:
> error reading package index file
> C:/Python22/tcl/tix8.1/pkgIndex.tcl: invalid command name
> The only mention of this problem I can find is at:
> but there doesn't seem to be a clear resolution put forth. By the
> way, IDEStudio 1.9 comes with a stand-alone Python 2.1 binary and the
> Tix demo it ran at the end of installation was actually just a batch
> file containing
> tix8183.exe ..\..\Demos\Tcl\tixwidgets.tcl
> Has anyone else had any problems with this? Any suggestions?
More information about the Python-list