Dear MNE forum,
I am trying for some time to install MNE-Python in a windows (version 10 - home) laptop without success.
Can you help me?
I have already an installation of anaconda and python that I had to use to other software.
Its is installed in “C:\Users\FML\anaconda3”.
So, I followed the instructions to install MNE-Python for “3D plotting and source analysis” which is in Installing MNE-Python — MNE 0.24.1 documentation.
I did all the commands in the anaconda command prompt as recommended.
When I launch spyder from the anaconda prompt, it opens a different spyder (5 instead of 4, my previous version), with the following error:
“link image0 hasn’t been detected!”
When I try to run inside spyder the following commands:
import os
import numpy as np
import mne
It gives an error:
File “C:\Users\FML.spyder-py3\temp.py”, line 9, in
import mne
ModuleNotFoundError: No module named ‘mne’
I tried to type conda activate mne, but then it goes to the mne environment, which does not recognize spyder. So, I runned the spyder in a base environment, and it still does not work.
How can I make MNE-python work in windows? I do not have other operating system available.
Can you please provide me a kind of installation instructions “for dummies”?
I must be making a mistake somewhere in the process.
I would be very grateful if you could help me on this subject.
Best wishes,
Sofia
If you have a question or issue with MNE-Python, please include the following info:
- MNE version: e.g. 0.24.0
- operating system: e.g. macOS 12 / Windows 10 / Ubuntu 18.04
Please also provide relevant code snippets – ideally a minimal working example (MWE).
To get the correct formatting, paste your Python code, then select it, and click on the Preformatted text toolbar button.
Please avoid sharing screenshots of code and error messages! Screenshots are difficult to work with especially on mobile devices; they don’t allow others to copy code and other text; and they don’t show up in the search.
Please edit or remove the above text before submitting your posting.