From: BL <bra...@gm...> - 2008-02-25 17:53:01
|
Thanks for the reply, It was not a problem with the specific python I used. In fact I have a problem because the Tcl/Tk libraries were in /usr/share/lib whereas their include files were in /usr/include. In my case, I used the debian package tkx8.3-dev which does not follow that idiom ( I don't know why..) As far as I understand, matplotlib asks Python for the path of its Tk library, and guess the path of the include directory from this path by adding '../../include/tk' + tk_ver. I solved my problem by removing this old version of Tk and building a new one. But I still think matplotlib should look in the directories given at the top of setupext.py (or in the setup.cfg file, which would be even better, I don't like the fact of having to modify directly setupext.py). Regards, -- LB |