Closed YeZiyi1998 closed 4 years ago
can you report what mne.sys_info()
outputs?
Yes, Here it is.
Platform: Darwin-19.5.0-x86_64-i386-64bit
Python: 3.7.2 (default, Jan 13 2019, 12:50:01) [Clang 10.0.0 (clang-1000.11.45.5)]
Executable: /usr/local/opt/python/bin/python3.7
CPU: i386: 8 cores
Memory: Unavailable (requires "psutil" package)
mne: 0.20.7
numpy: 1.16.1 {blas=openblas, lapack=openblas}
scipy: 1.2.1
matplotlib: 3.0.3 {backend=MacOSX}
sklearn: 0.20.3
numba: Not found
nibabel: Not found
cupy: Not found
pandas: 1.0.3
dipy: Not found
mayavi: Not found
pyvista: Not found
vtk: Not found
None
I tried to install psutil and after that the result is:
Platform: Darwin-19.5.0-x86_64-i386-64bit
Python: 3.7.2 (default, Jan 13 2019, 12:50:01) [Clang 10.0.0 (clang-1000.11.45.5)]
Executable: /usr/local/opt/python/bin/python3.7
CPU: i386: 8 cores
Memory: 16.0 GB
mne: 0.20.7
numpy: 1.16.1 {blas=openblas, lapack=openblas}
scipy: 1.2.1
matplotlib: 3.0.3 {backend=MacOSX}
sklearn: 0.20.3
numba: Not found
nibabel: Not found
cupy: Not found
pandas: 1.0.3
dipy: Not found
mayavi: Not found
pyvista: Not found
vtk: Not found
None
However, still have the problem of "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)".
Probably another problem with the macOS backend. Can you try setting the env var MPLBACKEND=Qt5Agg
or doing import matplotlib; matplotlib.use('Qt5Agg')
and see if it gets rid of the segfault?
The segfault problem is solved but there is not image of 'raw.plot(duration=1, n_channels=3)' showed, while 'raw.plot_psd(fmax=50)' can show image accurately. Why is this problem occur?
Works for me with the default osx
backend. @YeZiyi1998 try adding block=True
in your call to raw.plot
.
Thanks. Adding "block=True" really works. @cbrnr
Here is my code.
The result is
and there is not expected graph output. My computer is mac and mne is the latest version for python3.