WxWidgets (wxpython) on Mac M4 Pro does not show up
Hello,
I have installed PyCharm on mine Mac (M4 Pro, downloaded and installed lastest Python) and through the packages section in PyCharm I downloaded wxPython. Up until this point everything went smooth and as expected.
I wrote simple UI app using wxFormBuilder - just to test it out and despite everything compiling correctly and exitting with code 0.
No UI window pops up (a simple window with text), what is causing this? I know that Mac´s are super “privacy” with everything so maybe just some setting is blocking it?
Thank you.
Please sign in to leave a comment.
Hi Chvamax, this issue requires thorough investigation, please create an issue on YouTrack (https://youtrack.jetbrains.com/issues/PY) and attach all relevant information for quicker resolution.
Hello Mikhail,
sometimes solution is much easier then it looks like, for some reason I was missing those lines:
# Main App loopapp = wx.App(False)frame = MyFrame1(None)frame.Show()app.MainLoop()After adding this everything works as expected, I get small preview window.
But still there is some sort of “issue” as it did compiled correctly and exited with code 0.
Thank you.