first, install the unicode version of wxPython since matplotlib is compiled using it.
then add that dll in the variable to be passed to the data_files argument of setup, something like this:
then in the setup argument, exclude the dll by having this code fragment:‘dll_excludes’ : ‘wxmsw26uh_vc.dll’,
don’t forget to put your data_files argument in setup
Date: Fri, 05 Jan 2007 12:36:06 +0100
From: Philippe Fremy <
Subject: [Matplotlib-users] matplotlib and wxmsw26uh_vc.dll
Content-Type: text/plain; charset=ISO-8859-1
This seem to be a recurring problem but I haven’t found the answer to my problem by googling.
I am packaging an application that uses python 2.5 (from python.org) , ansi version of wxpython
(version >= 2.6) and numpy 1.01, all this on windows.
When I run my program, it complains that it can’t find wxmsw26uh_vc.dll but it will run perfectly,
which I find quite surprising.
I traced the program with dlldpends, and it turns out that it stems from the wx backend: _wxagg.pyd
depends on wxmsw26uh_vc.dll
I did not develop the application, I am only trying to package it and trying to understand the
dependencies. The app runs with various versions of wxPython, but only in ansi.
The problem really arises when I try to package the applicaiton with py2exe. Py2exe won’t let me do
it. I have tried --dll-excludes and --excludes without success.
Is there a proper fix for this ?
thanks in advance, Philippe Fremy
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
Matplotlib-users mailing list
End of Matplotlib-users Digest, Vol 8, Issue 9