----- Original Message ---- From: Christoph Gohlke <cgoh...@uci.edu> To: H L <hulu...@yahoo.com> Cc: matplotlib-users@lists.sourceforge.net Sent: Mon, January 18, 2010 5:04:22 PM Subject: Re: [Matplotlib-users] problem with import pylab
The extension _TKAGG.PYD depends on TK84.DLL, TCL84.DLL, MSVCP71.DLL, and MSVCR71.DLL. Make sure all these files are located in the Windows search path, e.g. in one of the directories listed in the PATH environment variable. Christoph ------------------------------------------------------------------------------------------------- This is not just a problem on Windows. I have exactly the same problem when trying to use pylab with the SAGE package on my Mac OS X 10.4. I have put up questions on the SAGE support group, but have not gotten any replies. I did some googling and recall that someone on a group a while back said this was a basic problem with matplotlib. I cannot find that message, but the idea was that matplotlib was building only for file saving of graphics, not for interactive. I built my SAGE package from source so that might be right. I have a separate python framework that I use regularly and that has no problems. It's been a long time since I installed it from a binary that I don't remember if I had a problem with it, too. Unfortunately the version is different from SAGE's and I cannot just use the _tkagg module. My error message: /Applications/sage/local/lib/python2.6/site-packages/matplotlib/ backends/tkagg.py in <module>() 2 import Tkinter as Tk 3 4 def blit(photoimage, aggimage, bbox=None, colormode=1): 5 tk = photoimage.tk 6 ImportError: No module named _tkagg Anyone have any ideas or pointers? -- Lou Pecora, my views are my own. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users