473,378 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

matplotlib error with tkagg

Hi, I'm using python 2.2 under windows...when I use the 'Agg ' backend it
works fine but when I try to use the 'TkAgg' one I've an error message that
says :
.....
.....
"import tkagg # Paint image to Tk photo blitter extension
File "D:\PYTHON~1.3\Lib\site-packages\matplotlib\backends\tkagg.py", line
1, in ?
import _tkagg
ImportError: DLL load failed: " impossible to find the specified procedure

What do I need? with windows installers Agg and TkAgg should work without
install any requirements or not?
Thanks
Jul 18 '05 #1
1 3927
Federico wrote:
Hi, I'm using python 2.2 under windows...when I use the 'Agg ' backend it
works fine but when I try to use the 'TkAgg' one I've an error message that
says :
....
....
"import tkagg # Paint image to Tk photo blitter extension
File "D:\PYTHON~1.3\Lib\site-packages\matplotlib\backends\tkagg.py", line
1, in ?
import _tkagg
ImportError: DLL load failed: " impossible to find the specified procedure
It's not just you... I develop the TkAgg backend with Python 2.3 (on
Linux and Solaris and win32) and didn't test the 2.2 installer for
windows. TkAgg is apparently broken for Python-2.2 on windows.

What do I need?


Nothing. I think there's a bug in the way the tkagg backend is
currently built for Windows. The _tkagg.pyd file appears to be
dependent on Tcl/Tk 8.4 and I think for Python-2.2 it needs 8.3.

If you're willing to upgrade to Python-2.3, you can have matplotlib with
TkAgg today.

Regards,
Todd Miller

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John Hunter | last post by:
matplotlib is a 2D plotting library for python. You can use matplotlib interactively from a python shell or IDE, or embed it in GUI applications (WX, GTK, and Tkinter). matplotlib supports many...
3
by: Noe | last post by:
Hello, I have a problem with finance_work2.py provided in the documentation. I can't find the helpers module : ImportError: No module named helpers Someone could help me? thanks in advance.
1
by: Kenneth Miller | last post by:
Hello All, I need a python module to do real time graphs so I chose Matplotlib. I am trying to compile matplotlib at the moment and I have some problems, well not really. It compiles fine, it's...
0
by: nashmeister | last post by:
has anyone had any success compiling matplotlib in cygwin? i had some rebasing problems that i got around, but when i finally got everything to install without any complaints and did "import...
1
by: cesco | last post by:
Hi, I wanted to install python, numpy and matplotlib on Linux Ubuntu. I installed python with the following commands ../configure --enable-unicode=ucs4 make make install and then I installed...
0
by: OKB (not okblacke) | last post by:
I just downloaded matplotlib and I was trying to do some simple date plots, but I'm running up against a puzzling error. Whenever I attempt to plot dates, I get an exception on line 157 of...
2
by: dmitrey | last post by:
Hi all, here is a question already mentioned below, and I'm also interested in that one very much. unfortunatly, I can't write anything to matplotlib mailing lists because I constantly get server...
1
by: redcic | last post by:
I've got a question regarding matplotlib. I use the command: pylab.plot(...) to create a graph. Then, the execution of the code stops after the line: pylab.show() which is off course the last...
2
by: Simon Forman | last post by:
Hello, I just installed Matplotlib (and NumPy) on a windows XP machine, and I'm getting the following traceback when I try to use the TkAgg backend. Python 2.5.1 (r251:54863, Apr 18 2007,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.