# errors with spyder in anaconda after installing	mne python

**URL:** https://mne.discourse.group/t/errors-with-spyder-in-anaconda-after-installing-mne-python/2240
**Category:** Mailing List Archive (read-only)
**Tags:** list-archive
**Created:** [June 30, 2020, 12:17pm UTC](https://mne.discourse.group/t/errors-with-spyder-in-anaconda-after-installing-mne-python/2240 "2020-06-30T12:17:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [June 30, 2020, 12:17pm UTC](https://mne.discourse.group/t/errors-with-spyder-in-anaconda-after-installing-mne-python/2240/1 "2020-06-30T12:17:57Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [June 30, 2020, 5:03pm UTC](https://mne.discourse.group/t/errors-with-spyder-in-anaconda-after-installing-mne-python/2240/2 "2020-06-30T17:03:52Z")

</div>

External Email - Use Caution

Hi Amie,  
Glad you got it working with PyQt 5.10. Do let us know if you run into any more problems.

-- dan  
Daniel McCloy  
[https://dan.mccloy.info](https://dan.mccloy.info)  
Research Scientist  
Institute for Learning and Brain Sciences  
University of Washington

??? Original Message ???
