I have two user accounts on a Windows computer each using a Linux WSL shell. One can use the command line tool mne browse_raw
the other one runs and quits without opening a the plot window:
$ mne browse_raw sub-001_desc-Filt_eeg.fif
Opening raw data file sub-001_desc-Filt_eeg.fif...
Range : 0 ... 753964 = 0.000 ... 3015.856 secs
Ready.
Using matplotlib as 2D backend.
But it does open from a notebook in VSCode using qtβ¦
Hereβs the sys_info for the one that works:
Platform Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Python 3.11.5 | packaged by conda-forge | (main, Aug 27 2023, 03:34:09) [GCC 12.3.0]
Executable /home/moberg/mne-python/1.6.0_0/bin/python3.11
CPU x86_64 (20 cores)
Memory 15.5 GB
Core
ββ mne 1.6.0 (outdated, release 1.6.1 is available!)
ββ numpy 1.26.0 (OpenBLAS 0.3.24 with 20 threads)
ββ scipy 1.11.3
ββ matplotlib 3.8.2 (backend=QtAgg)
ββ pooch 1.8.0
ββ jinja2 3.1.2
Numerical (optional)
ββ sklearn 1.3.2
ββ numba 0.58.1
ββ nibabel 5.1.0
ββ nilearn 0.10.2
ββ dipy 1.7.0
ββ openmeeg 2.5.7
ββ pandas 2.1.3
ββ unavailable cupy
Visualization (optional)
ββ pyvista 0.42.3 (OpenGL 4.2 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1 via D3D12 (NVIDIA GeForce RTX 3060))
ββ pyvistaqt 0.11.0
ββ vtk 9.2.6
ββ qtpy 2.4.1 (PySide6=6.6.1)
ββ ipympl 0.9.3
ββ pyqtgraph 0.13.3
ββ mne-qt-browser 0.6.1
ββ ipywidgets 8.1.1
ββ trame_client 2.12.6
ββ trame_server 2.12.1
ββ trame_vtk 2.6.2
ββ trame_vuetify 2.3.1
Ecosystem (optional)
ββ mne-bids 0.14
ββ mne-nirs 0.6.0
ββ mne-features 0.3
ββ mne-connectivity 0.5.0
ββ mne-icalabel 0.5.1
ββ mne-bids-pipeline 1.4.0
And the one that doesnβt:
(mne-1.6.1_0) user@SASS-161:~/DWD$ mne sys_info
Platform Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.35
Python 3.11.5 | packaged by conda-forge | (main, Aug 27 2023, 03:34:09) [GCC 12.3.0]
Executable /home/user/mne-python/1.6.1_0/bin/python3.11
CPU x86_64 (20 cores)
Memory 31.7 GB
Core
ββ mne 1.6.1 (latest release)
ββ numpy 1.26.3 (OpenBLAS 0.3.25 with 20 threads)
ββ scipy 1.11.4
ββ matplotlib 3.8.2 (backend=agg)
ββ pooch 1.8.0
ββ jinja2 3.1.3
Numerical (optional)
ββ sklearn 1.3.2
ββ numba 0.58.1
/home/user/mne-python/1.6.1_0/lib/python3.11/site-packages/numpy/core/getlimits.py:542: UserWarning: Signature b'\x00\xd0\xcc\xcc\xcc\xcc\xcc\xcc\xfb\xbf\x00\x00\x00\x00\x00\x00' for <class 'numpy.longdouble'> does not match any known type: falling back to type probe function.
This warnings indicates broken support for the dtype!
machar = _get_machar(dtype)
ββ nibabel 5.2.0
ββ nilearn 0.10.2
ββ dipy 1.7.0
ββ openmeeg 2.5.7
ββ pandas 2.1.4
ββ unavailable cupy
Visualization (optional)
ββ pyvista 0.43.2 (OpenGL unavailable)
ββ qtpy 2.4.1 (None=None)
ββ ipympl 0.9.3
ββ mne-qt-browser 0.6.1
ββ ipywidgets 8.1.1
ββ trame_client 2.14.2
ββ trame_server 2.15.0
ββ trame_vtk 2.7.0
ββ trame_vuetify 2.3.1
ββ unavailable pyvistaqt, vtk, pyqtgraph
Ecosystem (optional)
ββ mne-bids 0.14
ββ mne-nirs 0.6.0
ββ mne-features 0.3
ββ mne-connectivity 0.6.0
ββ mne-icalabel 0.6.0
ββ mne-bids-pipeline 1.5.0
It looks like I have qt on the installation thatβs not working, but itβs just not being used. How do I get the qt backend invoked from the command line? Thereβs nothing about that in the docs