Hi all, I’m installing MNE for the first time in Anaconda following these instructions: Install via pip or conda — MNE 1.2.2 documentation
I successfully created the MNE environment. I then installed Spyder 5 into a separate environment with these instructions for a Conda-based distribution: Installation Guide — Spyder 5 documentation
I set Spyder to use the mne environment as its default interpreter and had some difficulty with spyder-kernels. Spyder says it “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.”
So I tried to install spyder-kernels into the mne environment with the following code, ensuring I’m in the mne environment (conda took forever and failed too, so I used mamba):
mamba install --strict-channel-priority --channel=conda-forge spyder-kernels=2.3
I receive the following error: “package spyder-kernels-2.3.0-py310h5588dad_0 requires ipython >=7.31.1,<8.0.0, but none of the providers can be installed”
So I thought, I’ll skip Spyder and use a different IDE or figure out Spyder later. So I moved on to cupy:
mamba install cupy
I get the following error:
"pkgs/r/win-64 No change
pkgs/main/noarch No change
pkgs/r/noarch No change
pkgs/msys2/win-64 No change
pkgs/main/win-64 No change
pkgs/msys2/noarch No change
Pinned packages:
- python 3.10.*
Encountered problems while solving:
- package cupy-8.3.0-py39h1c34636_0 requires python >=3.9,<3.10.0a0, but none of the providers can be installed"
I know the standalone installer is an option, but I thought maybe this could help describe someone’s experience trying to configure mne for the first time and the problems encountered.
Here’s the installation test:
(mne) C:\Users\baz8>python -c “import mne; mne.sys_info()”
Platform: Windows-10-10.0.19044-SP0
Python: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:16:33) [MSC v.1929 64 bit (AMD64)]
Executable: C:\Users\baz8\AppData\Local\Continuum\anaconda3\envs\mne\python.exe
CPU: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel: 12 cores
Memory: 15.9 GB
mne: 1.2.3
numpy: 1.23.5 {unknown linalg bindings}
scipy: 1.9.3
matplotlib: 3.6.2 {backend=QtAgg}
sklearn: 1.1.3
numba: 0.56.4
nibabel: 4.0.2
nilearn: 0.9.2
dipy: 1.5.0
openmeeg: Not found
cupy: Not found
pandas: 1.5.2
pyvista: 0.37.0 {OpenGL 4.5.0 NVIDIA 431.65 via GeForce GTX 1660 Ti/PCIe/SSE2}
pyvistaqt: 0.9.0
ipyvtklink: 0.2.2
vtk: 9.2.2
qtpy: 2.3.0 {PyQt5=5.15.6}
ipympl: Not found
pyqtgraph: 0.13.1
pooch: v1.6.0
mne_bids: Not found
mne_nirs: Not found
mne_features: Not found
mne_qt_browser: 0.4.0
mne_connectivity: Not found
mne_icalabel: Not found