Subhs
(Subhs)
October 13, 2025, 2:22am
1
MNE version: 1.10.1
operating system: macOS 15
Hello,
I tried downloading the kiloword dataset using the following line of code:
mne.datasets.kiloword.data_path()
and I keep getting the following error:
ValueError: MD5 hash of downloaded file (MNE-kiloword-data.tar.gz) does not match the known hash: expected md5:3a124170795abbd2e48aae8727e719a8 but got c5428b925680b6063e1b6724e4097852. Deleted download for safety. The downloaded file may have been corrupted or the known hash may be outdated. Consider using force_update=True to force the dataset to be downloaded again.
I’ve tried the following, and it has not worked:
setting force_update to True
setting update_path to True
Using pip install -U mne to update the mne package.
Downloaded other mne datasets (other datasets downloaded just fine, seems to be this particular dataset)
richard
(Richard Höchenberger)
October 13, 2025, 6:28am
2
Hello @Subhs , I just tried this locally and I’m getting the same error. This does indeed seem to be an issue on the MNE side. I’ve opened a bug report on the MNE issue tracker:
opened 06:27AM - 13 Oct 25 UTC
BUG
### Description of the problem
Reported at https://mne.discourse.group/t/kilowo… rd-dataset-not-downloading-md5-hash-mismatch/11533
The `kiloword` dataset cannot be downloaded.
### Steps to reproduce
```Python
import mme
mne.datasets.kiloword.data_path(force_update=True)
```
### Link to data
_No response_
### Expected results
Dataset downloads
### Actual results
```python
>>> mne.datasets.kiloword.data_path(force_update=True)
Using default location ~/mne_data for kiloword...
Downloading file 'MNE-kiloword-data.tar.gz' from 'https://osf.io/qkvf9/download?version=1' to '/Users/richardhochenberger/mne_data'.
0.00B [00:00, ?B/s]
Failed to download 'MNE-kiloword-data.tar.gz'. Will attempt the download again 2 more times.
0.00B [00:00, ?B/s]
Failed to download 'MNE-kiloword-data.tar.gz'. Will attempt the download again 1 more time.
0.00B [00:00, ?B/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<decorator-gen-327>", line 12, in data_path
File "/private/tmp/mne-test/.venv/lib/python3.12/site-packages/mne/datasets/kiloword/kiloword.py", line 49, in data_path
return _download_mne_dataset(
^^^^^^^^^^^^^^^^^^^^^^
File "/private/tmp/mne-test/.venv/lib/python3.12/site-packages/mne/datasets/utils.py", line 260, in _download_mne_dataset
fetch_dataset(
File "/private/tmp/mne-test/.venv/lib/python3.12/site-packages/mne/datasets/_fetch.py", line 267, in fetch_dataset
raise ValueError(
ValueError: MD5 hash of downloaded file (MNE-kiloword-data.tar.gz) does not match the known hash: expected md5:3a124170795abbd2e48aae8727e719a8 but got c5428b925680b6063e1b6724e4097852. Deleted download for safety. The downloaded file may have been corrupted or the known hash may be outdated. Consider using force_update=True to force the dataset to be downloaded again.
>>>
```
### Additional information
```
>>> mne.sys_info()
Platform macOS-26.0.1-arm64-arm-64bit
Python 3.12.10 (main, Apr 9 2025, 03:49:38) [Clang 20.1.0 ]
Executable /private/tmp/mne-test/.venv/bin/python3
CPU Apple M2 Pro (10 cores)
Memory 32.0 GiB
Core
├☑ mne 1.10.1 (latest release)
├☑ numpy 2.3.3 (unknown linalg bindings (threadpoolctl module not found: No module named 'threadpoolctl'))
├☑ scipy 1.16.2
└☑ matplotlib 3.10.7 (backend=macosx)
Numerical (optional)
└☐ unavailable sklearn, numba, nibabel, nilearn, dipy, openmeeg, cupy, pandas, h5io, h5py
Visualization (optional)
└☐ unavailable pyvista, pyvistaqt, vtk, qtpy, ipympl, pyqtgraph, mne-qt-browser, ipywidgets, trame_client, trame_server, trame_vtk, trame_vuetify
Ecosystem (optional)
└☐ unavailable mne-bids, mne-nirs, mne-features, mne-connectivity, mne-icalabel, mne-bids-pipeline, neo, eeglabio, edfio, mffpy, pybv
```
Best wishes,
Richard
1 Like
Subhs
(Subhs)
October 13, 2025, 5:26pm
3
Hi @richard Thank you so much! I went to the bug report and then to the Fix, and my issue was resolved!
Here’s the link for the fix for anyone facing similar issues!
main ← DerAndereJohannes:update_osf_links
opened 01:34AM - 12 Oct 25 UTC
## What does this implement/fix?
It seems as if the formatting for the osf.io… download links have changed and it is therefore currently no longer possible to download the mne datasets. The current format of links downloads the html file rather than the file itself and therefore fails.
I have reproduced this on 2 local PCs (Mac OS and Linux) as well as it causing some of my CI/CD pipelines to fail.
### Reproduce the Issue:
1. Have an empty `mne_data` directory
2. Run the following
```python3
import mne
mne.datasets.sample.data_path()
```
This pull request changes every osf.io link into the new link format such that the current mne download methods can be used again.
closes #13441
1 Like
system
(system)
Closed
October 20, 2025, 5:26pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.