Michael Droettboom wrote:
> The fishy thing here is that _tkagg should be a C extension, have a .so 
> file extension and have only the following members -->
> 
>  >>> dir(_tkagg)
> ['__doc__', '__file__', '__name__', '_pyobj_addr', 'tkinit']
> 
> tkagg (without the underscore), on the other hand, is a true Python 
> module, would have a .pyc extension and all of the members you posted.
> 
> So, somehow, tkagg got renamed to _tkagg on your system.  I'm not sure 
> how the build script may have done that.  Does removing
> 
>   /usr/lib/python2.5/site-packages/matplotlib/backends/_tkagg.pyc
> 
> help?  (It's generally safe to remove .pyc files since they are 
> regenerated by the Python compiler).  Do you have a _tkagg.py sitting in 
> that directory?
> 
> Did you build matplotlib from the source tarball, a Gentoo port (or 
> whatever they're called), or some other way?

Just as a an FYI, on my Gentoo box here, with matplotlib 0.91.2 
installed from Portage, I have: 
/usr/lib/python2.5/site-packages/matplotlib/backends/_tkagg.so

And I don't have any problems with the TkAgg backend.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

-------------------------------------------------------------------------
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to