External Email - Use Caution
Dear Dan,
Thanks for the code. Unfortunately it didn't work, but that might be because I didn't know what I was doing! I tried the code you wrote and also edited it based on the link you sent and neither way worked. I ended up with the spyder version distributed by anaconda and a separate version of spyder. They didn't play well together it seems as the individual version wouldn't open (it just froze).
Anyway, I did some googling and found that spyder doesn't like PyQt5 versions higher than 5.11. I tried using conda to uninstall PyQt5 and reinstall an older version but was blocked by anaconda. To get around this, I went into the mne python environment file, changed the PyQt5 version to be ==5.10 (rather than >=5.10), and reinstalled mne python. This has worked! Now spyder opens from within anaconda.
I don't know yet if this will break mne commands? I assume no seeing as the environment file allows PyQt5 5.10 as a package version?
I also have no clue if other people will run into this issue as well.
Best,
Amie