This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / __config__ / show

function

scipy.__config__:show

source: build-install/usr/lib/python3.14/site-packages/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
✗
Build Dependencies:
  blas:
    cython blas ilp64: false
    detection method: pkgconfig
    found: true
    has ilp64: false
    include directory: /usr/include/x86_64-linux-gnu/openblas-pthread/
    lib directory: /usr/lib/x86_64-linux-gnu/openblas-pthread/
    name: openblas
    openblas configuration: USE_64BITINT=0 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 NO_CBLAS=
      NO_LAPACK= NO_LAPACKE=1 NO_AFFINITY=1 USE_OPENMP=0 generic MAX_THREADS=64
    pc file directory: /usr/lib/x86_64-linux-gnu/pkgconfig
    version: 0.3.26
  lapack:
    detection method: pkgconfig
    found: true
    has ilp64: false
    include directory: /usr/include/x86_64-linux-gnu/openblas-pthread/
    lib directory: /usr/lib/x86_64-linux-gnu/openblas-pthread/
    name: openblas
    openblas configuration: USE_64BITINT=0 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 NO_CBLAS=
      NO_LAPACK= NO_LAPACKE=1 NO_AFFINITY=1 USE_OPENMP=0 generic MAX_THREADS=64
    pc file directory: /usr/lib/x86_64-linux-gnu/pkgconfig
    version: 0.3.26
  numpy:
    detection method: config-tool
    name: numpy
    version: 2.5.3
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 3.1.0
Compilers:
  c:
    commands: cc
    linker: ld.bfd
    name: gcc
    version: 13.3.0
  c++:
    commands: c++
    linker: ld.bfd
    name: gcc
    version: 13.3.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 3.3.0
  pythran:
    include directory: ../../../../../opt/hostedtoolcache/Python/3.14.7/x64/lib/python3.14/site-packages/pythran
    version: 0.19.0
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: /opt/hostedtoolcache/Python/3.14.7/x64/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

Referenced by