- operating system: Windows 11 / WSL Ubuntu 20.04
I am having an issue with getting the mne coreg gui to load. I’ve installed mne and freesurfer in my WSL.
mne sys_info
Platform: Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-glibc2.29
Python: 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0]
Executable: /home/alexdv/mne/bin/python3
CPU: x86_64: 6 cores
Memory: 19.5 GB
mne: 0.24.1
numpy: 1.22.2 {}
scipy: 1.8.0
matplotlib: 3.5.1 {backend=QtAgg}
sklearn: 1.0.2
numba: Not found
nibabel: 3.2.2
nilearn: Not found
dipy: Not found
cupy: Not found
pandas: 1.4.1
mayavi: 4.7.4
pyvista: 0.33.3 {OpenGL 3.3 (Core Profile) Mesa 21.2.6 via D3D12 (AMD Radeon™ Graphics)}
pyvistaqt: 0.7.0
ipyvtklink: Not found
vtk: 9.1.0
PyQt5: 5.12.3
ipympl: Not found
mne_qt_browser: Not found
pooch: Not found
Every time I try to open mne coreg from terminal I get a segmentation fault.
/home/alexdv/mne/lib/python3.8/site-packages/mne/viz/backends/_pyvista.py:41: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
VTK9 = LooseVersion(getattr(vtk, 'VTK_VERSION', '9.0')) >= LooseVersion('9.0')e 341 in _render
/home/alexdv/mne/lib/python3.8/site-packages/mne/viz/backends/_pyvista.py:41: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
VTK9 = LooseVersion(getattr(vtk, 'VTK_VERSION', '9.0')) >= LooseVersion('9.0')y", line 1953 in remove_actor
Using pyvistaqt 3d backend.b/python3.8/site-packages/pyvista/plotting/plotting.py", line 1049 in remove_actor
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 609 in _update_actor
/home/alexdv/mne/lib/python3.8/site-packages/mne/viz/backends/_pyvista.py:192: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(pyvista.__version__) >= '0.27.0':s/mne/gui/_coreg.py", line 524 in _update_plot
Using high resolution head model in /mnt/g/My Drive/Ricerca/EEG Data/TBSCrit_01_Pilot/TBSCrit_01_MRI/bem/TBSCrit_01_MRI-head-dense.fif
Triangle neighbors and vertex normals...packages/mne/gui/_coreg.py", line 327 in _subjects_dir_changed
Estimating fiducials from fsaverage..8/site-packages/traitlets/traitlets.py", line 1266 in _notify_observers
Overwriting existing file.ib/python3.8/site-packages/traitlets/traitlets.py", line 1229 in notify_change
Using high resolution head model in /mnt/g/My Drive/Ricerca/EEG Data/TBSCrit_01_Pilot/TBSCrit_01_MRI/bem/TBSCrit_01_MRI-head-dense.fif
Triangle neighbors and vertex normals...packages/traitlets/traitlets.py", line 595 in set
Estimating fiducials from fsaverage..8/site-packages/traitlets/traitlets.py", line 606 in __set__
Using outer_skin.surf for head surface.site-packages/mne/gui/_coreg.py", line 216 in _set_subjects_dir
Using outer_skin.surf for head surface.site-packages/mne/gui/_coreg.py", line 176 in __init__
Fatal Python error: Segmentation fault/site-packages/mne/gui/__init__.py", line 206 in coregistration
File "<decorator-gen-564>", line 24 in coregistration
Current thread 0x00007fca6dfbd740 (most recent call first):mmands/mne_coreg.py", line 107 in run
File "/home/alexdv/mne/lib/python3.8/site-packages/pyvista/plotting/plotting.py", line 1224 in render
File "/home/alexdv/mne/lib/python3.8/site-packages/pyvistaqt/plotting.py", line 341 in _render
File "/home/alexdv/mne/lib/python3.8/site-packages/pyvistaqt/plotting.py", line 346 in render
File "/home/alexdv/mne/lib/python3.8/site-packages/pyvista/plotting/renderer.py", line 1953 in remove_actor
File "/home/alexdv/mne/lib/python3.8/site-packages/pyvista/plotting/plotting.py", line 1049 in remove_actor
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 609 in _update_actor
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 681 in _add_head_surface
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 524 in _update_plot
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 586 in _reset
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 327 in _subjects_dir_changed
File "/home/alexdv/mne/lib/python3.8/site-packages/traitlets/traitlets.py", line 1266 in _notify_observers
File "/home/alexdv/mne/lib/python3.8/site-packages/traitlets/traitlets.py", line 1229 in notify_change
File "/home/alexdv/mne/lib/python3.8/site-packages/traitlets/traitlets.py", line 1219 in _notify_trait
File "/home/alexdv/mne/lib/python3.8/site-packages/traitlets/traitlets.py", line 595 in set
File "/home/alexdv/mne/lib/python3.8/site-packages/traitlets/traitlets.py", line 606 in __set__
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 216 in _set_subjects_dir
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/_coreg.py", line 176 in __init__
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/gui/__init__.py", line 206 in coregistration
File "<decorator-gen-564>", line 24 in coregistration
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/commands/mne_coreg.py", line 107 in run
File "/home/alexdv/mne/lib/python3.8/site-packages/mne/commands/utils.py", line 107 in main
File "/home/alexdv/mne/bin/mne", line 8 in <module>
Segmentation fault