You may want to confirm that the python use use to build matplotlib is the intended one (in your home). As a first try, matplotlib's setup will import Tkinter and grab the include paths from there.
By this I mean when you type: python setup.py install that "python" is the specific python use want to use. Also check that Tkinter imports without errors in your custom Python. Cheers, Mike BL wrote: > Hi, > > I've got difficulties to make a local installation of matplotlib. > I think it's due to my nonstandard installation of python and tk, which > both are in my home. > > I've seen on the website that , for non standard installation, I should > complete the basedir dictionary defined in the setupext.py script. > > But for the Tcl/Tk header files, this does not seems to work. Whatever I > put in this dictionary, the module.include_dirs corresponding to Tk > (line 825 of setupext.py) is always equal to ['/usr/share/include', > '/usr/share/include']. > > Did I miss something obvious ? > > I'm on a linux2 platform and I''m trying make a local installation of > python2.5 + matplotlib 0.91.2 in my home. > > Regards, > -- > LB > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users