OK take this simple app: ================================ import wx app = wx.App() wx.MessageDialog(None,"Simple App").ShowModal() ================================
With ordinary python on Lion: ImportError: /usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode) So, I force 32bit mode: export VERSIONER_PYTHON_PREFER_32_BIT=yes And it works! Now to package the app. (Using pyinstaller 1.5.1) /usr/bin/python pyinstaller.py -w ../test.py Seems to succeed, But ./test/dist/test/test Error loading Python lib './test/dist/test/libpython2.7.dylib': dlopen(./test/dist/test/libpython2.7.dylib, 10): image not found Indeed, it doesnt exist. Not trying with todays svn trunk: /usr/bin/python pyinstaller.py -w ../test.py Seems to finish OK.. But.. ./test/dist/test/test Python library not found. But.. If I copy libpython in.. it seems to work. Regards, David On 3 January 2012 15:34, Martin Zibricky <[email protected]> wrote: > David Markey píše v Út 03. 01. 2012 v 15:16 +0000: > > > > Hi All, > > > > > > > > I'm trying to package a WX app on lion, Because it's WX, it needs to > > be 32bit. > > > > The package is having difficulty finding libpython however. > > > > > > > > Anyone know if this configuration is possible? > > Yes, this is possible. Please provide more details. > > -- > 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. > > -- 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.
