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.