Thanks Florian, Indeed I managed to get Dpg4x packaged up and working, I decided to remove import wxversion and the version check.
Thanks for a great packager guys..... Paul On Aug 19, 3:33 pm, Florian Höch <[email protected]> wrote: > Hi, > > the wxversion functions search on the filesystem, this won't work when > running packaged as executable. There are two options, either remove the > wxversion checks, or (imho better) skip them when packaged. Pyinstaller > sets the sys.frozen attribute, so you can use it to skip the checks > conditionally, ie. if not getattr(sys, 'frozen', False): <wxversion > stuff here> > > Am 18.08.2010 12:13, schrieb paulhomebus: > > > > > > > Error: > > # Dpg4x > > Traceback (most recent call last): > > File "<string>", line 18, in<module> > > File "/mnt/sdb4/Downloads/To_compile/dpg4x_1.1.1/build/pyi.linux2/ > > Dpg4x/outPYZ1.pyz/wxversion", line 152, in select > > wxversion.VersionError: Requested version of wxPython not found > > > I really, really would like to package up Dpg4x into an executable. > > > I have a downloaded PyInstaller 1.4 and am going to try with the SVN > > version also. > > > The ./dpg4x bash script sets path's before it runs Dpg4x.py - I'm > > wondering if that will also cause problems? > > Regards > -- > Florian Höch -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
