We don't include tcl/tk so our binary distribution doesn't include tkinter / tkagg. If you have all build dependencies and compile from source it should work.
On Friday, December 12, 2014 4:07:40 PM UTC, LouP wrote: > > Runing Sage 6.4.1 on a MacBook Pro, OS X 10.9 (but the problems below > happen on all other Macs running 10.6 for example (with appropriate Sage > versions). > > I usually use Sage from a Python script. And I use the Python and > packages/libraries provided in Sage. When using plotting calls in > Matplotlib to a window with TkAgg as the backend I always have to add the > file _tkagg to the backends in the Sage/.../matplotlib/backends folder. > Otherwise I get an error and a complaint that _tkagg cannot be found: > > ImportError: cannot import name _tkagg (an import from tkagg.py) > > This happens every time I upgrade Sage. Luckily I have the _tkagg file > from previous Python installs and can still copy that one over. > > My Question: Why doesn't Sage supply the _tkagg file? Or should I be > using some other backend to plot to a window? > > Thank you for any ideas, info, or help. > > -- Lou Pecora > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.