Right after installing, opening Spyder MNE returns:
"
An error ocurred while starting the kernel
The Python environment or installation whose interpreter is located at
C:\Users\vv221713\AppData\Local\mne‑python\1.3.0_0\python.exe
doesn’t have the spyder‑kernels module or the right version of it installed (>= 2.3.0 and < 2.4.0). Without this module is not possible for Spyder to create a console for you.
You can install it by activating your environment (if necessary) and then running in a system terminal:
conda install spyder-kernels=2.3
or
pip install spyder-kernels==2.3.*
"
Another separate version of mne-python in a different coda envt is otherwise running fine with Spyder (1.1.0)
Hello @virvw, thanks for reporting this issue! The Windows installers ship with spyder-kernels 2.4.0, which should be the correct version for the included Spyder (5.4.0). Could you try uninstalling MNE so “everything is gone”, and try installing it again? I wonder if an older version of Spyder might still be sticking around somehow?!
…yes so I wasn’t expecting an error with the MNE-installer. The message was to inform developers and future users.
Meanwhile, as suggested by the error message, I ran the following:
conda install spyder-kernels=2.3
(in the concerned envt (1.3.0_0))
But solving envt is not happy and failed.
Thank you for reporting back, @virvw! And happy new year to you too
So it appears something is going wrong when users try to install a newer version with the installer without uninstalling an existing version first. We will try to investigate if and how we can fix this. Until then, maybe we should amend our installation instructions to advise users to remove existing standalone installer-based MNE installs. @larsoner any thoughts?