{ } Raw JSON

bundles / scipy 1.17.1 / scipy / __config__ / show

function

scipy.__config__:show

source: /scipy/__config__.py :124

Signature

def   show ( mode = stdout )

Summary

Show libraries and system information on which SciPy was built and is being used

Parameters

mode : {`'stdout'`, `'dicts'`}, optional.

Indicates how to display the config information. 'stdout' prints to console, 'dicts' returns a dictionary of the configuration.

Returns

out : {`dict`, `None`}

If mode is 'dicts', a dict is returned, else None

Notes

  • The 'stdout' mode will give more readable output if pyyaml is installed

Examples

import scipy
scipy.show_config()
# formatted output is printed to the console
config_dict = scipy.show_config(mode='dicts')
list(config_dict.keys())

Aliases

  • scipy.show_config

Referenced by