On 2007-09-05, Bertrand Son Kintanar <b3rxkintanar@gmail.com> wrote:
On 9/5/07, Brad Larson <blarson@meridianhouse.com> wrote:
I've been using py2exe. It can be found at py2exe.org
Thanks to both of you. I have one question. the tutorial states that i need
to create a setup.py that contains some lines of your main python file. When
trying to run my program 'windows executable' it warns me that i have no
wxPython installed. but if i run it using the python interpreter, it works
fine.
anyone can help?
--
Grant Edwards grante Yow! These PRESERVES
at should be FORCE-FED to
visi.com PENTAGON OFFICIALS!!
I know it sounds silly... but are do you have wxpython installed?
Take a look in site-package. What version does it says is installed?
lol... yes it is installed. my wxpython version is `wx-2.8-msw-unicode.` it gives me a popup that states the wxversion needed is 2.8 or higher. i am using the wxversion.ensureMinimal ( '2.8' ) in my wx application. don't know if that matters.
Yeap, you should not use this with py2exe, change your code to something like this:
if not hasattr(sys, 'frozen'):
import wxversion
wxversion.ensureMinimal('2.8')
sys.frozen is only there if you used something like py2exe or cxfreeze etc.
Werner
···
On 9/6/07, *Peter Damoc* <pdamoc@gmail.com <mailto:pdamoc@gmail.com>> > wrote: