[Tutor] Installing problem in matplotlib
Alan Gauld
alan.gauld at btinternet.com
Mon Dec 31 09:30:42 CET 2007
"Sabyasachi Pal" <sabya.pal at gmail.com> wrote
> While installing matplot lib, I am facing errors given below after
> trying "python setup.py build". I made it sure that freetype (>=
> 2.1.7), libpng and zlib are installed along with there devel
> versions.
> Can any one help?
Not an expert in matplotlib but...
> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of
> 'Tcl_Interp'
This is saying it can't find tk.h which implies you don't have the
devel version of Tcl/Tk installed.
Since tk.h contains all the tk function/type definitions most of the
other errors looik like they are related to this missing header file
too.
HTH.
Alan G
More information about the Tutor
mailing list