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