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