Tkinter problem in Python 1.5.2 on Solaris 2.5.1

Jan Zegers janz at easics.be
Fri Jun 4 04:35:41 EDT 1999


Hello,

I have the following problem with Tkinter in Python 1.5.2.
  Python 1.5.2 (#6, Jun  4 1999, 09:42:04)  [GCC 2.8.1] on sunos5
  Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
  >>> import Tkinter
  >>> Tkinter._test()
  Traceback (innermost last):
    File "<stdin>", line 1, in ?
    File "./Lib/lib-tk/Tkinter.py", line 1947, in _test
      root = Tk()
    File "./Lib/lib-tk/Tkinter.py", line 886, in __init__
      self.tk = _tkinter.create(screenName, baseName, className)
  TclError: Can't find a usable init.tcl in the following directories: 
    



  This probably means that Tcl wasn't installed properly.

Note the whitespace between the two last test lines. The installation
is as follows:
  Tcl/Tk 8.1 with --enable-shared so we have libraries 
    /usr/local/lib/libtcl8.1.so and /usr/local/lib/libtk8.1.so
  Python 1.5.2 without any configure options but using *shared*
    in the Modules/Setup (and some extra modules, including Tk).

Setting TCL_LIBRARY and TK_LIBRARY doesn't change anything.

Any suggestions ?

Kind regards,
Jan
-- 
===================================================================
Jan Zegers                ===              Easics               ===
General Manager           ===  VHDL-based ASIC design services  ===
Tel: +32-16-395 601          ===================================
Fax: +32-16-395 619      Interleuvenlaan 86, B-3001 Leuven, BELGIUM
mailto:janz at easics.be              http://www.easics.com




More information about the Python-list mailing list