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 On 1/18/2010 1:45 PM, H L wrote: > > Thanks. I ran the Simple Hello World program (section 25.1.2.2 at > http://docs.python.org/library/tkinter.html) without any problem, so I > guess Tk installation itself is ok. > Someone has experience with getting matplotlib work with Tk? > > > --- On *Sun, 1/17/10, Erik Tollerud /<erik.tolle...@gmail.com>/* wrote: > > > From: Erik Tollerud <erik.tolle...@gmail.com> > Subject: Re: [Matplotlib-users] problem with import pylab > To: "H L" <hulu...@yahoo.com> > Date: Sunday, January 17, 2010, 9:18 PM > > Just based on the traceback, the problem seems to be in Tk - does > anything in tk work for you? (e.g. any of the builtin python gui > stuff) You might try installing wx and changing your matplotlibrc > file to have the line "backend:WxAgg" in it. I've never tried using > the wx backend on windows (anyone done this?), but presumably it > should work... > > On Fri, Jan 15, 2010 at 5:47 PM, H L <hulu...@yahoo.com > <http://us.mc529.mail.yahoo.com/mc/compose?to=hulu...@yahoo.com>> wrote: > > Hello: > I am having problem with "import pylab". I attached the > traceback below. I have googled on the web but haven't found a > solution. Can someone here help? > I have ActivePython 2.5, numpy-1.4.0-win32, and > matplotlib-0.99.1.win32-py2.5.exe, and Windows XP SP3. > -------------------------------------- > Traceback (most recent call last): > File "<interactive input>", line 1, in <module> > File "C:\Python25\lib\site-packages\pylab.py", line 1, in <module> > from matplotlib.pylab import * > File "C:\Python25\lib\site-packages\matplotlib\pylab.py", line > 247, in <module> > from matplotlib.pyplot import * > File "C:\Python25\lib\site-packages\matplotlib\pyplot.py", line > 78, in <module> > new_figure_manager, draw_if_interactive, show = pylab_setup() > File > "C:\Python25\lib\site-packages\matplotlib\backends\__init__.py", > line 25, in pylab_setup > globals(),locals(),[backend_name]) > File > "C:\Python25\lib\site-packages\matplotlib\backends\backend_tkagg.py", > line 8, in <module> > import tkagg # Paint image to Tk photo blitter extension > File > "C:\Python25\lib\site-packages\matplotlib\backends\tkagg.py", > line 1, in <module> > import _tkagg > ImportError: DLL load failed: The specified module could not be > found. > Thanks. > HL > > > > > ------------------------------------------------------------------------------ > 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 > > <http://us.mc529.mail.yahoo.com/mc/compose?to=matplotlib-us...@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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