# Error MNE-Import: Upgrade to mne\_dev\_version

**URL:** <https://mne.discourse.group/t/error-mne-import-upgrade-to-mne-dev-version/1741>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [February 13, 2019, 11:48am UTC](https://mne.discourse.group/t/error-mne-import-upgrade-to-mne-dev-version/1741 "2019-02-13T11:48:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [February 13, 2019, 11:48am UTC](https://mne.discourse.group/t/error-mne-import-upgrade-to-mne-dev-version/1741/1 "2019-02-13T11:48:48Z")

</div>

External Email - Use Caution

Dear mne-community,

when I tried to upgrade mne to the developement version with the pip  
--upgrade command and afterwards tried to import mne, I got this error on  
Anaconda on Windows 10:

(mne\_dev) C:\\>pip install --upgrade --no-deps git+

> **[GitHub - mne-tools/mne-python: MNE: Magnetoencephalography (MEG) and...](https://github.com/mne-tools/mne-python)**
>
> MNE: Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python - GitHub - mne-tools/mne-python: MNE: Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python

Collecting git+[https://github.com/mne-tools/mne-python.git](https://github.com/mne-tools/mne-python.git)  
&nbsp;&nbsp;Cloning [https://github.com/mne-tools/mne-python.git](https://github.com/mne-tools/mne-python.git) to [...]  
Building wheels for collected packages: mne  
&nbsp;&nbsp;Building wheel for mne (setup.py) ... done  
&nbsp;&nbsp;Stored in directory: [...]  
Successfully built mne  
Installing collected packages: mne  
&nbsp;&nbsp;Found existing installation: mne 0.18.dev0  
&nbsp;&nbsp;&nbsp;&nbsp;Uninstalling mne-0.18.dev0:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Successfully uninstalled mne-0.18.dev0  
Successfully installed mne-0.18.dev0

(mne\_dev) C:\\>python  
Python 3.6.8 |Anaconda, Inc.| (default, Feb 11 2019, 15:03:47) [MSC v.1915  
64 bit (AMD64)] on win32  
Type "help", "copyright", "credits" or "license" for more information.

> > > import mne

Traceback (most recent call last):  
&nbsp;&nbsp;File "\<stdin\>", line 1, in \<module\>  
&nbsp;&nbsp;File "C:\Anaconda3\envs\mne\_dev\lib\site-packages\mne\_\_init\_\_.py", line  
25, in \<module\>  
&nbsp;&nbsp;&nbsp;&nbsp;from .io.pick import (pick\_types, pick\_channels,  
&nbsp;&nbsp;File "C:\Anaconda3\envs\mne\_dev\lib\site-packages\mne\io\_\_init\_\_.py",  
line 24, in \<module\>  
&nbsp;&nbsp;&nbsp;&nbsp;from . import edf  
&nbsp;&nbsp;File  
"C:\Anaconda3\envs\mne\_dev\lib\site-packages\mne\io\edf\_\_init\_\_.py", line  
7, in \<module\>  
&nbsp;&nbsp;&nbsp;&nbsp;from .edf import read\_raw\_edf, read\_raw\_bdf, read\_raw\_gdf,  
find\_edf\_events  
&nbsp;&nbsp;File "C:\Anaconda3\envs\mne\_dev\lib\site-packages\mne\io\edf\edf.py",  
line 34, in \<module\>  
&nbsp;&nbsp;&nbsp;&nbsp;md5='12134a9be7e0bfa5941e95f8bfd330f7')  
&nbsp;&nbsp;File "C:\Anaconda3\envs\mne\_dev\lib\site-packages\mne\io\edf\_utils.py",  
line 19, in \_load\_gdf\_events\_lut  
&nbsp;&nbsp;&nbsp;&nbsp;fname)  
\*ValueError: File  
C:\Anaconda3\envs\mne\_dev\lib\site-packages\mne\io\edf\gdf\_encodes.txt is  
corrupted. mdf5 hashes don't match.\*

I'd be glad, if you could help me with that.

Kind regards  
Martin  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20190213/64a9d0f0/attachment-0001.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190213/64a9d0f0/attachment-0001.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [February 13, 2019, 3:30pm UTC](https://mne.discourse.group/t/error-mne-import-upgrade-to-mne-dev-version/1741/2 "2019-02-13T15:30:21Z")

</div>

External Email - Use Caution

this is a bug.

can you open an issue here:

[https://github.com/mne-tools/mne-python/issues](https://github.com/mne-tools/mne-python/issues)

?

we'll take from there on the issue.

thanks  
Alex
