Hi all,
I’m using mne_gui_addons.locate_ieeg
to mark iEEG electrodes manually on a CT coregistered to an MRI (FreeSurfer) on macOS 15.5 (Apple Silicon, arm64).
The GUI starts correctly, and I can mark the first electrode with no issue. However, right after marking the second electrode, the program crashes silently — no traceback, just a sudden termination. This happens consistently, both when running via VSCode and via terminal.
In one case, I traced the crash to the following error:
css
TypeError: _PyVistaRenderer.set_camera() got an unexpected keyword argument 'reset_camera'
This suggests an incompatibility between mne_gui_addons
and either pyvista
or pyvistaqt
, possibly specific to Apple Silicon. I tried multiple combinations of versions and environments.
Here is my environment summary from mne.sys_info()
:
diff
Platform macOS-15.5-arm64-arm-64bit
Python 3.11.9 | packaged by conda-forge
CPU Apple M4 Pro (14 cores)
Core
- mne 1.9.0
- numpy 1.26.4
- scipy 1.15.2
- matplotlib 3.10.1 (backend=QtAgg)
Numerical
- sklearn 1.6.1
- numba 0.59.1
- nibabel 5.3.2
- nilearn 0.11.1
- dipy 1.11.0
- openmeeg 2.5.6
- pandas 2.2.3
- h5io 0.2.5
- h5py 3.8.0
Visualization
- pyvista 0.45.0
- pyvistaqt 0.11.2
- vtk 9.2.6
- qtpy 2.4.3 (PyQt5=5.15.8)
- mne-qt-browser 0.7.1
Other
- Apple Silicon (arm64), no Rosetta
- Using conda (conda-forge) to manage dependencies
- Tried also on Python 3.10 with same behavior
Any advice on known compatible combinations or workarounds would be appreciated. Thank you!