Re: questions about py2exe and wax



iclinux wrote:
Using py2exe, I can convert a GUI Application with PythonCard to a
standalone windows program, and it works.
Then  I try another GUI Toolkit named Wax, implement a GUI App, it
works. And I convert that app by py2exe. But this time, when run, it
show a messagebox that says:

"""
This application requires a version of wxPython greater than or equal
to 2.6, but a matching version was not found.

You currently have these version(s) installed:

Would you like to download a new version of wxPython?
"""
any suggestion?

I got the same problem. Apparently the wxversion-related code in wax/core.py that doesn't work well with py2exe. Try commenting out the try..except clause in core.py; this worked for me. (Of course, I'll have to think of a better solution for future releases of Wax...)


Feel free to contact me by private mail if you need more help.

Cheers,

--
Hans Nowak
http://zephyrfalcon.org/
.



Relevant Pages

  • questions about py2exe and wax
    ... Then I try another GUI Toolkit named Wax, implement a GUI App, it ... And I convert that app by py2exe. ...
    (comp.lang.python)
  • Re: gui developing
    ... > I am flirting with the idea of developing a gui app in python ... then wxPython is hard to beat. ... concept of separate trees/hierarchies for widget layout and for ...
    (comp.lang.python)
  • Re: Multi-threaded printing and IOErrors in Windows
    ... > see if that fixes it... ... Having to wrap hundreds of random print statements just using for ... If running outside of py2exe there is never ... (it is gui app not a console app). ...
    (comp.lang.python)
  • gui developing
    ... I am flirting with the idea of developing a gui app in python as a ... newbie. ... I have noticed that wxpython is already installed on my gentoo and the ...
    (comp.lang.python)