> On 20 May 2021, at 15:26, Paul Fishback <fishback.p...@gmail.com> 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 > > <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 > > <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@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/
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG