<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Problems with Tkinter and _tkinter:
<p>I have installed Python 2.1.1 and Tcl/tk 8.3 into my directory (sun
solaris).  Python seems to work fine after a bit of tuning , but when
I tried to import "Tkinter" (The GUI module in Python), it has come out
the following error messages:
<p>>>> import  _tkinter
<br>Traceback (most recent call last):
<br>File "<stdin>", line 1, in?
<br>ImportError: id.so.1: /(directory)/Python-2.1.1/python: fatal: libtk8.2.so:
<br>open failed: No such file or directory
<br>>>> import Tkinter
<br>Traceback (most recent call last):
<br>File "<stdin>", line 1, in?
<br>File "/(directory)/Python-2.1.1/Lib/lib-tk/Tkinter.py", line 35, in?
<br>    import _tkinter # If this fails your Python may
not be configured for Tk
<br>ImportError: id.so.1: /(directory)/Python-2.1.1/python: fatal: libtk8.2.so:
<br>open failed: No such file or directory
<p>Since I have installed Tcl/tk as well, (after ./configure and make command
to build Python) I have changed the path setting of the tcl/tk headers
and library files location into the new version one. Then run the 'make
install' again, but mission unsuccessful!
<p>Fatal error occurs during the process of rebuilding the Python and now
I am stuck ...
<p>Has anyone know how to tackle this? I would be really grateful to hear
from you, many thanks
<p>Regards
<br>Denis
<pre>--
Image Processing Group
Dept. of Computer Science       email:  denis.fan@dcs.warwick.ac.uk
University of Warwick           phone:  +44 24 7652 2438
Coventry, CV4 7AL, United Kingdom</pre>
 </html>