bundles / scipy 1.18.0 / scipy / __config__ / show
function
scipy.__config__:show
source: /scipy/__config__.py:125
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 ifpyyamlis installed
Examples
import scipy
✓scipy.show_config() # formatted output is printed to the console✗
Build Dependencies:
blas:
cython blas ilp64: false
detection method: pkgconfig
found: true
has ilp64: false
include directory: /opt/_internal/cpython-3.14.3/lib/python3.14/site-packages/scipy_openblas32/include
lib directory: /opt/_internal/cpython-3.14.3/lib/python3.14/site-packages/scipy_openblas32/lib
name: scipy-openblas
openblas configuration: OpenBLAS 0.3.31.dev DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64
pc file directory: /project/.openblas
version: 0.3.31.dev
lapack:
detection method: pkgconfig
found: true
has ilp64: false
include directory: /opt/_internal/cpython-3.14.3/lib/python3.14/site-packages/scipy_openblas32/include
lib directory: /opt/_internal/cpython-3.14.3/lib/python3.14/site-packages/scipy_openblas32/lib
name: scipy-openblas
openblas configuration: OpenBLAS 0.3.31.dev DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64
pc file directory: /project/.openblas
version: 0.3.31.dev
pybind11:
detection method: config-tool
include directory: unknown
name: pybind11
version: 3.0.4
Compilers:
c:
commands: cc
linker: ld.bfd
name: gcc
version: 14.2.1
c++:
commands: c++
linker: ld.bfd
name: gcc
version: 14.2.1
cython:
commands: cython
linker: cython
name: cython
version: 3.2.5
fortran:
commands: gfortran
linker: ld.bfd
name: gcc
version: 14.2.1
pythran:
include directory: ../../../tmp/build-env-0nidrt1y/lib/python3.14/site-packages/pythran
version: 0.18.1
Machine Information:
build:
cpu: x86_64
endian: little
family: x86_64
system: linux
cross-compiled: false
host:
cpu: x86_64
endian: little
family: x86_64
system: linux
Python Information:
path: /tmp/build-env-0nidrt1y/bin/python
version: '3.14'
config_dict = scipy.show_config(mode='dicts') list(config_dict.keys())✓
['Compilers', 'Machine Information', 'Build Dependencies', 'Python Information']
Aliases
scipy.show_config