- MNE version: 1.3.1
- operating system: macOS 12.5.1
I am using this tutorial: Overview of MEG/EEG analysis with MNE-Python — MNE 1.4.1 documentation
and when I do:
sample_data_folder = mne.datasets.sample.data_path()
sample_data_raw_file = (
sample_data_folder / “MEG” / “sample” / “sample_audvis_filt-0-40_raw.fif”
)
raw = mne.io.read_raw_fif(sample_data_raw_file)
it says:
ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 1
----> 1 sample_data_folder = mne.datasets.sample.data_path()
2 sample_data_raw_file = (
3 sample_data_folder / “MEG” / “sample” / “sample_audvis_filt-0-40_raw.fif”
4 )
5 raw = mne.io.read_raw_fif(sample_data_raw_file)
File :12, in data_path(path, force_update, update_path, download, verbose)
File /lib/python3.11/site-packages/mne/datasets/sample/sample.py:14, in data_path(path, force_update, update_path, download, verbose)
11 @verbose
12 def data_path(path=None, force_update=False, update_path=True,
13 download=True, *, verbose=None): # noqa: D103
—> 14 return _download_mne_dataset(
15 name=‘sample’, processor=‘untar’, path=path,
16 force_update=force_update, update_path=update_path,
17 download=download)
File /lib/python3.11/site-packages/mne/datasets/utils.py:195, in _download_mne_dataset(name, processor, path, force_update, update_path, download, accept)
192 def _download_mne_dataset(name, processor, path, force_update,
193 update_path, download, accept=False):
194 “”“Aux function for downloading internal MNE datasets.”“”
→ 195 import pooch
196 from mne.datasets._fetch import fetch_dataset
198 _check_in_testing_and_raise(name, download)
ModuleNotFoundError: No module named ‘pooch’
what is happening?