# Not able to load raw eeg data in .EEG format in MNE python

**URL:** <https://mne.discourse.group/t/not-able-to-load-raw-eeg-data-in-eeg-format-in-mne-python/6403>\
**Category:** Support & Discussions\
**Tags:** eeg\
**Created:** [February 23, 2023, 3:53pm UTC](https://mne.discourse.group/t/not-able-to-load-raw-eeg-data-in-eeg-format-in-mne-python/6403 "2023-02-23T15:53:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr\_Manul](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@Dr\_Manul](https://mne.discourse.group/u/Dr_Manul)\
**Post date:** [February 23, 2023, 3:53pm UTC](https://mne.discourse.group/t/not-able-to-load-raw-eeg-data-in-eeg-format-in-mne-python/6403/1 "2023-02-23T15:53:22Z")

</div>

**❓ If you have a question or issue with MNE-Python, please include the following info:**

- MNE version: 0.24.0
- operating system: Windows 11

Code i used to load raw eeg data

path = r"D:\bids\_controls\sub-CONCRC01006\10CONCRC01006\10CONCRC01006\_0006.eeg"  
raw = mne.io.read\_raw\_eeglab(path, preload=True, verbose=‘error’)

Error i got : ValueError: Unknown mat file type, version 0, 189  
Kindly help

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [February 23, 2023, 4:11pm UTC](https://mne.discourse.group/t/not-able-to-load-raw-eeg-data-in-eeg-format-in-mne-python/6403/2 "2023-02-23T16:11:06Z")

</div>

Hello @Dr_Manul and welcome to the forum! Can you try again with a more recent version of MNE-Python?

Thanks,  
Richard

---

<div class="post-metadata">

**Author:** ![Dr\_Manul](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@Dr\_Manul](https://mne.discourse.group/u/Dr_Manul)\
**Post date:** [February 23, 2023, 4:47pm UTC](https://mne.discourse.group/t/not-able-to-load-raw-eeg-data-in-eeg-format-in-mne-python/6403/3 "2023-02-23T16:47:48Z")

</div>

Thank you sir  
Can you tell me how to get most recent version. When i update mne using conda prompt its showing this version only

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [February 23, 2023, 5:29pm UTC](https://mne.discourse.group/t/not-able-to-load-raw-eeg-data-in-eeg-format-in-mne-python/6403/4 "2023-02-23T17:29:09Z")

</div>

Please install the new version from scratch, following our installation instructions [Installing MNE-Python — MNE 1.3.0 documentation](https://mne.tools/stable/install/index.html)

---

<div class="post-metadata">

**Author:** ![Dr\_Manul](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@Dr\_Manul](https://mne.discourse.group/u/Dr_Manul)\
**Post date:** [February 24, 2023, 5:34am UTC](https://mne.discourse.group/t/not-able-to-load-raw-eeg-data-in-eeg-format-in-mne-python/6403/5 "2023-02-24T05:34:03Z")

</div>

hi sir  
i installed recent version of MNE using installer. when i am trying to load the raw .eeg file in spyder  
(MNE) i am getting the error  
raise ValueError(‘Mat 4 mopt wrong format, byteswapping problem?’)

ValueError: Mat 4 mopt wrong format, byteswapping problem?
