On Tue, 2009-09-08 at 20:39 -0700, concussionGFX wrote: > I have successfully built my app on windows, but now I am getting this > error on mac. > > i have tried using no arguments and --onefile and --noconsole. > my app uses wxpython. > > 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.
Does PyInstaller correctly create a bundle? Does it look like a bundle from finder? If so, does the error appears even if you click on the bundle from the finder? And what if you run the bundle using "open bundlename.app"? "pythonw" is nothing more than a stub script that executes the bundle-version of Python from within the bundle, so that Mac OSX activate GUI support. By creating a bundle with PyInstaller, you should achieve the same effect and thus it should work. -- Giovanni Bajo Develer S.r.l. http://www.develer.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
