Short/naive question: do the mpl eggs have a dependency on Tk 8.4?
Longer question: I'm trying to support a plugin (NLOPredict) to a popular molecular vis pkg (UCSF Chimera) and, no surprise, the plugin uses mpl. Chimera bundles its own Python, plus all dependencies. The latest version switched to Python 2.5 and Tcl/Tk 8.5. It also bundles numpy 1.0.4. So I tried to install a mpl-maintenance egg (Windows first) that used Python 2.5 and pre-numpy 1.1 (I tried mpl 0.91.4 and 91.2). However, when I bring up the Chimera IDLE, I get:
>>> from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
traceback...
File "d:\chimera-1.2540\bin\lib\site-package\matplotlib-0.91.2-py2.5-win32.egg\matplotlib\backends\backend_tkagg.py", line 8, in <module>
import tkagg # Paint image to Tk photo blitter extension
File "d:\chimera-1.2540\bin\lib\site-package\matplotlib-0.91.2-py2.5-win32.egg\matplotlib\backends\tkagg.py", line 1, in <module>
import _tkagg
ImportError: DLL load failed: The specified file could not be found.
Ideas?
thanks, Randy
Hey Randy,
All the mpl binaries are built against tcl/tk 8.4. I believe mpl is not compatible with tcl/tk 8.5 as of the last release. Someone else might know if this has changed in svn?
···
On Sun, Oct 5, 2008 at 11:04 PM, Randy Heiland <heiland@…209…> wrote:
Short/naive question: do the mpl eggs have a dependency on Tk 8.4?
Longer question: I’m trying to support a plugin (NLOPredict) to a
popular molecular vis pkg (UCSF Chimera) and, no surprise, the plugin
uses mpl. Chimera bundles its own Python, plus all dependencies.
The latest version switched to Python 2.5 and Tcl/Tk 8.5. It also
bundles numpy 1.0.4. So I tried to install a mpl-maintenance egg
(Windows first) that used Python 2.5 and pre-numpy 1.1 (I tried mpl
0.91.4 and 91.2). However, when I bring up the Chimera IDLE, I get:
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
traceback…
File "d:\chimera-1.2540\bin\lib\site-package\matplotlib-0.91.2-py2.5-
win32.egg\matplotlib\backends\backend_tkagg.py", line 8, in
import tkagg # Paint image to Tk photo blitter extension
File "d:\chimera-1.2540\bin\lib\site-package\matplotlib-0.91.2-
py2.5-win32.egg\matplotlib\backends\tkagg.py", line 1, in
import _tkagg
ImportError: DLL load failed: The specified file could not be found.
Ideas?
thanks, Randy
This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel