Error with wxPython

40 views
Skip to first unread message

Diego Herranz

unread,
Aug 13, 2010, 3:15:18 PM8/13/10
to GUI2Exe
Hi!

First, thank you very much. GUI2exe is just great. I had tried a lot
of things until I discovered this.

I'm trying to compile a python program which uses wxPython. The
program is OK and it works (is a demo from wxPython).

When I try to compile it I got the MSVCP90.dll error. Then after
googling I added MSVCP90.dll to DLL excludes. But i get this errors:


If I set bundle files to 3:

[...]
copying C:\Python27\w9xpopen.exe -> Y:\python\dist
copying C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx
\wxmsw28uh_core_vc.dll -> Y:\python\dist
copying C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx
\wxmsw28uh_adv_vc.dll -> Y:\python\dist
copying C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx
\wxbase28uh_xml_vc.dll -> Y:\python\dist
copying C:\Python27\lib\site-packages\py2exe\run_w.exe -> Y:\python
\dist\simple.exe
error: Invalid argument

If I set bundle files to 1:

[...]
copying C:\Python27\w9xpopen.exe -> Y:\python\dist
copying C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx
\wxmsw28uh_core_vc.dll -> Y:\python\build\bdist.win32\winexe
\collect-2.7
copying C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx
\wxmsw28uh_adv_vc.dll -> Y:\python\build\bdist.win32\winexe
\collect-2.7
copying C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx
\wxbase28uh_xml_vc.dll -> Y:\python\build\bdist.win32\winexe
\collect-2.7
copying C:\Python27\lib\site-packages\py2exe\run_w.exe -> Y:\python
\dist\simple.exe
Adding python27.dll as resource to Y:\python\dist\simple.exe
error: Invalid argument

Some info:

Packages:
-wx
-wx.lib

DLL Excludes:
-MSVCP90.dll

Versions:
- Python 2.7
- wxPython 2.8.11 (unicode)
- py2exe 0.6.9

Thank you very much
Reply all
Reply to author
Forward
0 new messages