From fishback.paul at gmail.com Thu May 20 09:26:52 2021 From: fishback.paul at gmail.com (Paul Fishback) Date: Thu, 20 May 2021 09:26:52 -0400 Subject: [Pythonmac-SIG] py2app and pyinstaller on Big Sur Message-ID: Hello, I'm using Python 3.9 on a Mac running Big Sur and have encountered problems converting GUIs into Mac apps. I'm concerned that the problems may arise from Big Sur itself. *Pyinstaller*: I posted a problem I ran into at https://stackoverflow.com/questions/67593376/pyinstaller-tkinter-script-works-fine-but-wont-execute-properly-as-app-or-uni?noredirect=1#comment119476414_67593376. In essence, I created my .app, which did not function on Big Sur but did when someone else ran it on linux. *py2app: * Problem I encountered is posted at https://stackoverflow.com/questions/67611680/problem-with-py2app-when-figurecanvastkagg-is-used-in-script?noredirect=1#comment119507494_67611680. Essentially, I can get py2app to work fine with a tkinter GUI that utilizes matplotlib, unless I need to import FigureCanvassTkAgg from matplotlib.backends.backend_tkagg. This problem could be more likely due to an incomplete understanding of how to incorporate options with py2app. Thanks PaulF. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronaldoussoren at mac.com Fri May 21 03:33:22 2021 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Fri, 21 May 2021 09:33:22 +0200 Subject: [Pythonmac-SIG] py2app and pyinstaller on Big Sur In-Reply-To: References: Message-ID: <8231A099-D5C4-4918-9CD3-66E566DBF84A@mac.com> > On 20 May 2021, at 15:26, Paul Fishback wrote: > > Hello, > > I'm using Python 3.9 on a Mac running Big Sur and have encountered problems converting GUIs into Mac apps. I'm concerned that the problems may arise from Big Sur itself. > > Pyinstaller: I posted a problem I ran into at https://stackoverflow.com/questions/67593376/pyinstaller-tkinter-script-works-fine-but-wont-execute-properly-as-app-or-uni?noredirect=1#comment119476414_67593376 . In essence, I created my .app, which did not function on Big Sur but did when someone else ran it on linux. > > py2app: Problem I encountered is posted at https://stackoverflow.com/questions/67611680/problem-with-py2app-when-figurecanvastkagg-is-used-in-script?noredirect=1#comment119507494_67611680 . Essentially, I can get py2app to work fine with a tkinter GUI that utilizes matplotlib, unless I need to import FigureCanvassTkAgg from matplotlib.backends.backend_tkagg. This problem could be more likely due to an incomplete understanding of how to incorporate options with py2app. I?ve added a comment on the stack overflow question. It says: The first step to debug issues like this is to start the application in the terminal, that is for MyApp.app run "dist/MyApp.app/Contents/MacOS/MyApp". This will print errors to the terminal instead of that they'll be swallowed by the system. This will likely print that some module or library cannot be found. You can use "includes" (modules) or "packages' (packages) to explicitly include those missing modules/packages (but please report back, I can automate this in py2app). Ronald > > Thanks > > PaulF. > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG ? Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From guydestefano at gmail.com Sun May 30 13:30:50 2021 From: guydestefano at gmail.com (Guy DeStefano) Date: Sun, 30 May 2021 13:30:50 -0400 Subject: [Pythonmac-SIG] Jack Jansen - Question on Python Launcher Message-ID: Sorry to bother you, but I have one question that I cannot find an answer to, could you please help. Am very new to Python3 and have written a small program that is my base for my learning Python3. All is perfect except, when I double click my program the .py file, it works great except that it calls in the Python Launcher, and when I exit my program, the preferences box for Python Launcher and the Icon of the launcher still remain on the screen. I have to manually close the python launcher. Can this be done programmatically, I exit with sys.exit(0). I am using tkinter in the program, along with python3.9.5, on an Apple Mac computer. This may not be the proper place for this question, if not, I apologize and please direct me where to go as I have been googling for days. Thanks in advance. Any help will be greatly appreciated. I have just noticed that python3 -V states python 3.9.5, and looking at the python launcher box it states Version 3.10.0b1(3.10.0b1) Is this something I am doing wrong. guydestefano at gmail.com Guy DeStefano -------------- next part -------------- An HTML attachment was scrubbed... URL: