savefig problems with matplotlib

Maybe this is a dumb question, but I've installed tk-devel

    > and tcl-devel. Still doesn't work. Do I need to reinstall
    > matplotlib or do it from source?

Yes, after installing the dev headers you will need to rebuild
matplotlib from src. I suggest you capture the output of the build
process is case you need to post it

sudo rm -rf build
sudo python setup.py install >& build.out

JDH

···

James

    > On 11/25/05, John Hunter <jdhunter@...4...> > wrote:

    >>
    > I get the following message, when I try to use it, which I
    > don't understand, because I have tkinter installed:
    >> It means that matpltolib was not able to find the tk src code
    >> needed to compile the tkagg extension. Usually this is because
    >> you haven't installed the tk-dev and tcl-dev packages.
    >>
    >> JDH
    >>

    > -- James W. Landry jwlandry@...287...

It works fine in TkAgg. That implies that you are right and it is
a threading problem in pygtk. Thanks a lot for tracking this down.

James Landry

···

On 11/25/05, John Hunter <jdhunter@…4…> wrote:

> Maybe this is a dumb question, but I've installed tk-devel
> and tcl-devel.  Still doesn't work.  Do I need to reinstall

> matplotlib or do it from source?

Yes, after installing the dev headers you will need to rebuild
matplotlib from src. I suggest you capture the output of the build
process is case you need to post it

sudo rm -rf build
sudo python setup.py install >& build.out

JDH

> James

> On 11/25/05, John Hunter < > jdhunter@...4...> >     > wrote:
>>

> I get the following message, when I try to use it, which I
> don't understand, because I have tkinter installed:
>>  It means that matpltolib was not able to find the tk src code

>> needed to compile the tkagg extension.  Usually this is because
>> you haven't installed the tk-dev and tcl-dev packages.
>>
>> JDH
>>



> -- James W. Landry jwlandry@...287...


James W. Landry
jwlandry@…287…