[yt-users] Can't locate Tcl/Tk libs and/or headers

Alejandro Bolaños abolanos at astro.uni-wuerzburg.de
Fri Jun 8 06:06:24 PDT 2012


Hello dear yt-users!

I'm new to yt and am having some initial problems getting it up and 
running. I would be glad if you guys could help me.

The installation script ran fine, but apparently some modules for python 
like tcl/tkinter coudn't be built. It seems to be a similar problem to 
that Chris Malone had, though it wasn't solved in the mailing list: 
http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2010-December/000997.html

I have installed python2.7, tlc8.5 tk8.5 and the developement packages, 
but the installation script seems not to be able to find the tcl/tk headers.

The error message in the logfile is:

Python build finished, but the necessary bits to build these modules 
were not found:
_bsddb             _curses            _curses_panel
_tkinter           bsddb185           dbm
dl                 gdbm               imageop
readline           sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.

and several:

running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers

In setup.py I have found detect_modules() and detect_tkinter*() 
functions, but I am at a loss which part(s) I should edit. I am running 
Debian wheezy/sid.
Thank you for any help!

Greets,
Alejandro



More information about the yt-users mailing list