I had the same problem before, and it still exists on macos 10.14 and ubuntu 20.04 & 22.04.
The solution for ubuntu 20.04 is to try the mne standalone package installer, which includes spyder and works. But this solution does not work for macos 10.14, you can try if it works for windows.