Hi, I've written a wxPython application that works fine natively under OS X (currently running 10.6.7), but that refuses to play ball when bundled through PyInstaller. For comparison, I get great results with PyInstaller but under Linux, for both 32 and 64 bit builds. BTW, I'm relatively new to PyInstaller, so apologies if this issue has been described before, but a quick internet search hasn't led me to a solution.
Let's call my application "app.py" (it's a single script). I'm using v2.7.1 of Python on my Mac, and I usually run the application successfully in 32 bit mode with: % arch -i386 python ./app.py I now try to build a PyInstaller executable (using v1.5 of PyInstaller) with: % arch -i386 python Makespec.py --onefile app.py % arch -i386 ./Build.py app/app.spec This apparently successfully builds a binary in the app/dist directory, but trying to run it fails with: "This program needs access to the screen. Please run with 'pythonw', not 'python', and only when you are logged in on the main display of your Mac." I've tried replacing python with pythonw in all occurrances, including in script shebang lines, but the result's always the same. Furthermore, some postings on various mailing lists indicate that this error message can be a bit of a red herring. So, I'm probably doing something silly. Any help in pointing me at a solution would be greatly appreciated. TIA, m -- 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.
