[Mne_analysis] errors with spyder in anaconda after installing mne python

FAIRS Amie amie.FAIRS at univ-amu.fr
Mon Jun 29 06:10:03 EDT 2020
Search archives:

        External Email - Use Caution        

Dear all,

I'm not sure if this is relevant for this mailing list but I'm having a weird error with anaconda/mne installation.

I had an older version of anaconda running python 2.7 (from analysis a while ago) and decided to update anaconda and mne, by uninstalling and reinstalling both (updating it wasn't working). Anyway, once I've got the latest release versions of the two I opened anaconda and then tried to open spyder (I like to use it), and I get this error:

Traceback (most recent call last):
File "C:\Users\fairs\Anaconda3\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: DLL load failed: The specified procedure could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\fairs\Anaconda3\Scripts\spyder-script.py", line 10, in
sys.exit(main())
File "C:\Users\fairs\Anaconda3\lib\site-packages\spyder\app\start.py", line 201, in main
from spyder.app import mainwindow
File "C:\Users\fairs\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 83, in
from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Users\fairs\Anaconda3\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'

I then updated conda, but still got the error, so I decided to uninstall and reinstall anaconda. When I did this, spyder would then launch. But then when I install mne python, and go back to open spyder, I get the same message.

I assume the packages installed when installing mne python (from the environment.yml file) somehow break something that anaconda needs, or create an incompatability? But I have to be honest I have absolutely no clue.

Has anyone else run into this problem or is there a solution? I'd like to keep using spyder as my IDE from within anaconda so a fix to this would be excellent.

Best,

Amie

------------------
Dr. Amie Fairs
Post-doctorant
Aix-Marseille Université
Laboratoire Parole et Langage (LPL) | CNRS UMR 7309 | 5 Avenue Pasteur | 13100 Aix-en-Provence
Email : amie.fairs at univ-amu.fr<mailto:amie.fairs at univ-amu.fr>

While I may send this email outside of typical working hours, I have no expectation to receive an email outside of your typical hours.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200629/5be5543e/attachment.html 


More information about the Mne_analysis mailing list