On Thu, Dec 10, 2009 at 4:10 PM, TDavis <[email protected]> wrote: > Hi, this is a follow-up to my original posting. > > It turns out that the problem with TkAgg in 'matplotlib' isn't really > a sage-specific issue. It is more a problem with the 'matplotlib' > installation scripts. > > I tried a clean install of 'matplotlib' within a clean, stand-alone > Python 2.6 installation. I did this completely outside 'sage'. I had > exactly the same issue with TkAgg. The problem is that my system has > Tcl and Tk installed in a non-standard place. The python installation > scripts for 'matplotlib' couldn't find them, and looked in a hard- > coded location as a last act of desperation. I went into one of the > setup python scripts for 'matplotlib' and changed the two lines which > had hard-coded locations for Tcl and Tk, respectively. Once I did > that, TkAgg built cleanly and my 'matplotlib' build/install went > fine. I think the same thing would probably work inside sage if one > is willing to do some hand editing. > > In my opinion, the problem is the inflexible installation process for > 'matplotlib'. Couldn't the python setup scripts be given at least one > additional option that would allow the user to specify the locations > of Tcl and Tk?
I strongly encourage you to post to the excellent matplotlib mailing list about this issue. -- William -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
