mne.sys_info

mne.sys_info(fid=None, show_paths=False)[source]

Print the system information for debugging.

This function is useful for printing system information to help triage bugs.

Parameters
fidfile-like | None

The file to write to. Will be passed to print(). Can be None to use sys.stdout.

show_pathsbool

If True, print paths for each module.

Examples

Running this function with no arguments prints an output that is useful when submitting bug reports:

>>> import mne
>>> mne.sys_info() 
Platform:      Linux-4.15.0-1067-aws-x86_64-with-glibc2.2.5
Python:        3.8.1 (default, Feb  2 2020, 08:37:37)  [GCC 8.3.0]
Executable:    /usr/local/bin/python
CPU:           : 36 cores
Memory:        68.7 GB

mne:           0.21.dev0
numpy:         1.19.0 {blas=openblas, lapack=openblas}
scipy:         1.5.1
matplotlib:    3.2.2 {backend=Qt5Agg}

sklearn:       0.23.1
numba:         0.50.1
nibabel:       3.1.1
nilearn:       0.7.0
dipy:          1.1.1
cupy:          Not found
pandas:        1.0.5
mayavi:        Not found
pyvista:       0.25.3 {pyvistaqt=0.1.1, OpenGL 3.3 (Core Profile) Mesa 18.3.6 via llvmpipe (LLVM 7.0, 256 bits)}
vtk:           9.0.1
PyQt5:         5.15.0

Examples using mne.sys_info