You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More of an FYI than anything else -- PyQt5 appears not to work on Big Sur. I've tried 5.12 and 5.15.1, and both basically hang as soon as you make a mayavi, PyVista, or matplotlib Qt5Agg window.
So those thinking about upgrading, don't do so if you want to be able to use Python. For matplotlib at least we can use the MacOSX backend in the meantime, but 3D plotting is now (hopefully temporarily) totally broken for people who have upgraded. :(
Or maybe I'm the only one with this issue. If someone else upgrades, feel free to try it out and let me know!
Thanks for the heads up. I think this time I will upgrade as late as possible (this is the first time I haven't upgraded on day 1, and just like the new CPUs the macOS update doesn't really hype me).
I've done the upgrade and of course things don't work. Workaround for now: manually download the .whl files, change 10_9 to 11_0 and install with pip. numpy/numpy#17784 scipy/scipy#13102
matplotlib
Pillow
PyQt5
PyQt5-sip
It seems like most packages on PyPI are incompatible with Big Sur, just because they have the wrong version number. Renaming works. Reopening because I'm expecting others will also run into these issues.
Edit: This is a pip issue (pypa/packaging#319), hopefully everything will work with the next release (no idea when this is going to happen though).
I'm constantly running into this issue if I forget to update my VS Code Run/Debug configuration accordingly. I thought we had added a workaound (setting the variable on macOS automatically) a while back, but cannot find any reference anymore?
But like I said, this apparently doesn't fix the problem for me. Only setting the variable manually has helped so far.
That PR only fixed it for mne coreg and related GUIs that use traits+mayavi, not for code that uses matplotlib. For that, people should look to a matplotlib-generic solution such as setting this env var in their dev environment.
Activity
larsoner commentedon Nov 14, 2020
Closing because there isn't really anything for us to do. But we can keep any discussion about this here as things progress
cbrnr commentedon Nov 14, 2020
Thanks for the heads up. I think this time I will upgrade as late as possible (this is the first time I haven't upgraded on day 1, and just like the new CPUs the macOS update doesn't really hype me).
christianbrodbeck commentedon Nov 22, 2020
os.environ['QT_MAC_WANTS_LAYER'] = '1'(stackoverflow) at least gets the GUIs to open, will do some more testing.cbrnr commentedon Nov 28, 2020
I've done the upgrade and of course things don't work. Workaround for now: manually download the .whl files, change
10_9to11_0and install withpip.numpy/numpy#17784
scipy/scipy#13102
matplotlib
Pillow
PyQt5
PyQt5-sip
It seems like most packages on PyPI are incompatible with Big Sur, just because they have the wrong version number. Renaming works. Reopening because I'm expecting others will also run into these issues.
Edit: This is a pip issue (pypa/packaging#319), hopefully everything will work with the next release (no idea when this is going to happen though).
hoechenberger commentedon Nov 29, 2020
I have been running Big Sur for over a week or so and no problems besides the Qt thing. I'm using conda-forge.
cbrnr commentedon Nov 29, 2020
Yes, it's a pip issue. I know we recommend/support conda, but pip is still the default package manager and currently that doesn't work.
hoechenberger commentedon Nov 29, 2020
Yep. Didn't mean to suggest otherwise, just wanted to share that it works well for me with
conda-forge:)cbrnr commentedon Dec 4, 2020
The latest releases of pip and Homebrew fixed all issue, so everything is working on macOS/Homebrew.
hoechenberger commentedon Jan 25, 2021
I'm constantly running into this issue if I forget to update my VS Code Run/Debug configuration accordingly. I thought we had added a workaound (setting the variable on macOS automatically) a while back, but cannot find any reference anymore?
hoechenberger commentedon Jan 25, 2021
Never mind, it's mentioned right above:
#8554
But like I said, this apparently doesn't fix the problem for me. Only setting the variable manually has helped so far.
larsoner commentedon Jan 25, 2021
That PR only fixed it for
mne coregand related GUIs that use traits+mayavi, not for code that uses matplotlib. For that, people should look to a matplotlib-generic solution such as setting this env var in their dev environment.cbrnr commentedon Jan 25, 2021
@hoechenberger are you using an old PyQt5 version? This has been fixed in 5.15.2.