Carl Lowenstein wrote:
Trying to install a program (PySolFC) that is built on Python. I get this error message:File "/usr/local/lib/python2.5/lib-tk/Tkinter.py", line 38, in <module> import _tkinter # If this fails your Python may not be configured for Tk No module named _tkinter What Python do I have? [EMAIL PROTECTED] PySolFC-1.1]$ which python /usr/local/bin/python [EMAIL PROTECTED] tmp]$ python --version Python 2.5 I find in the sourcesfrom which I built Python2.5 a file /usr/local/src/Python-2.5/Modules/_tkinter.c but do not find any corresponding .o file. The README file states: Tkinter ------- The setup.py script automatically configures this when it detects a usable Tcl/Tk installation. This requires Tcl/Tk version 8.0 or higher. Look for evidence of Tcl/Tk version: [EMAIL PROTECTED] yum]$ grep tcl /var/log/rpmpkgs tcl-8.4.7-2.i386.rpm tclx-8.3.5-4.i386.rpm What do you suppose I didn't do.
You need to install the development packages tcl-devel and tclx-devel. The devel packages provide the header files and some libraries needed for compilation of the Python module.
Gus -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
