matplotlib and wxmsw26uh_vc.dll

Philippe Fremy
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:
matplotlibdata_files.append((‘’,[‘E:\Python25\Lib\site-packages\wx-
2.6-msw-unicode\wx\wxmsw26uh_vc.dll’]))
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

HTH
Allan

···

Message: 9
Date: Fri, 05 Jan 2007 12:36:06 +0100
From: Philippe Fremy <
phil@…1411…>
Subject: [Matplotlib-users] matplotlib and wxmsw26uh_vc.dll
To: matplotlib-users@lists.sourceforge.net

Message-ID: <459E3826.8050007@…1411…>
Content-Type: text/plain; charset=ISO-8859-1

    Hi,

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

http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV



Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

End of Matplotlib-users Digest, Vol 8, Issue 9