If you have a question or issue with MNE-Python, please include the following info:
- MNE version: e.g. 1.6.1
- operating system: e.g. macOS 13 m2 silicon
I am testing the 10_review.py, which is provided on the website, to check the installation. but got stuck in the step:
plot the STC
stc.plot(
initial_time=0.1, hemi=βsplitβ, views=[βlatβ, βmedβ], subjects_dir=subjects_dir
)
I met the problem, which will be presented as followings:
Fatal Python error: Segmentation fault
Main thread:
Current thread 0x00000001fe88a080 (most recent call first):
File ββ, line 241 in _call_with_frames_removed
File ββ, line 1176 in create_module
File ββ, line 571 in module_from_spec
File ββ, line 674 in _load_unlocked
File ββ, line 1006 in _find_and_load_unlocked
File ββ, line 1027 in _find_and_load
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/pyvista/core/_vtk_core.pyβ, line 309 in
File ββ, line 241 in _call_with_frames_removed
File ββ, line 883 in exec_module
File ββ, line 688 in _load_unlocked
File ββ, line 1006 in _find_and_load_unlocked
File ββ, line 1027 in _find_and_load
File ββ, line 241 in _call_with_frames_removed
File ββ, line 1078 in _handle_fromlist
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/pyvista/core/init.pyβ, line 4 in
File ββ, line 241 in _call_with_frames_removed
File ββ, line 883 in exec_module
File ββ, line 688 in _load_unlocked
File ββ, line 1006 in _find_and_load_unlocked
File ββ, line 1027 in _find_and_load
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/pyvista/init.pyβ, line 9 in
File ββ, line 241 in _call_with_frames_removed
File ββ, line 883 in exec_module
File ββ, line 688 in _load_unlocked
File ββ, line 1006 in _find_and_load_unlocked
File ββ, line 1027 in _find_and_load
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/mne/viz/backends/_qt.pyβ, line 20 in
File ββ, line 241 in _call_with_frames_removed
File ββ, line 883 in exec_module
File ββ, line 688 in _load_unlocked
File ββ, line 1006 in _find_and_load_unlocked
File ββ, line 1027 in _find_and_load
File ββ, line 1050 in _gcd_import
File β/Users/sandrokrieg/anaconda3/lib/python3.10/importlib/init.pyβ, line 126 in import_module
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/mne/viz/backends/renderer.pyβ, line 44 in _reload_backend
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/mne/viz/backends/renderer.pyβ, line 178 in _get_3d_backend
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/mne/viz/_3d.pyβ, line 2405 in plot_source_estimates
File ββ, line 12 in plot_source_estimates
File β/Users/sandrokrieg/anaconda3/lib/python3.10/site-packages/mne/source_estimate.pyβ, line 743 in plot
File β/var/folders/bm/vjj4zjtn00qb526npxt1gp940000gn/T/ipykernel_4451/2809451616.pyβ, line 28 in
Restarting kernelβ¦
I have installed the pyvista. it seems to be the version problem. Could you pls help me to check it?
Thank you very much.