show_versions#
- scikitplot.show_versions(mode='stdout')[source]#
Print or return debugging information about the system, Python, dependencies, and hardware.
- Parameters:
- mode{‘stdout’, ‘dict’, ‘yaml’, ‘rich’}, default=’stdout’
‘stdout’: prints information to console using
rich(if available) or plain text.‘dict’: returns the information as a nested dictionary.
‘yaml’: returns the information in YAML format (requires PyYAML).
‘rich’: prints formatted output using rich library.
- Returns:
- version_datastr, dict or None
If
mode='dict', returns a dictionary of version information. Ifmode='yaml', returns a string of version information. Otherwise, returns None.
- Parameters:
mode (str)
- Return type:
Notes
Useful for debugging and issue reporting.
Examples
>>> import scikitplot >>> # !scikitplot show_versions -j >>> data = scikitplot.show_versions(mode="dict") >>> scikitplot.show_versions()
>>> !scikitplot show_versions || true
[32m[1mChanged logging level: WARNING[0m [1;36mScikit-plot Version Information:[0m
System Information: python: 3.11.14 (main, Oct 10 2025, 16:22:04) [GCC 11.4.0] executable: /home/circleci/.pyenv/versions/3.11.14/bin/python3.11 CPU: x86_64 cores: 36 architecture: x86_64 OS: Linux-6.8.0-1040-aws-x86_64-with-glibc2.35 ci: true Python Dependencies: scikitplot: 0.5.dev0+git.20251120.53644d7 pip: 25.2 setuptools: 79.0.1 cython: 3.2.1 numpy: 2.3.5 pandas: 2.3.3 scipy: 1.16.3 matplotlib: 3.10.7 joblib: 1.5.2 threadpoolctl: 3.6.0 sklearn: None seaborn: 0.13.2 plotly: 6.5.0 aggdraw: 1.3.19 bokeh: None gradio: None streamlit: None pyyaml: 6.0.3 Environment Variables: MKL_NUM_THREADS: None OMP_NUM_THREADS: None OPENBLAS_NUM_THREADS: None GPU Information: cuda: None gpu: None mps: None xla: None xpu: None Threadpoolctl Information: user_api: blas internal_api: openblas num_threads: 36 prefix: libscipy_openblas filepath: /home/circleci/.pyenv/versions/3.11.14/lib/python3.11/site-packages/numpy.libs/libscipy_openblas64_-fdde5778.so version: 0.3.30 threading_layer: pthreads architecture: SkylakeX user_api: blas internal_api: openblas num_threads: 36 prefix: libscipy_openblas filepath: /home/circleci/.pyenv/versions/3.11.14/lib/python3.11/site-packages/scipy.libs/libscipy_openblas-b75cc656.so version: 0.3.29.dev threading_layer: pthreads architecture: SkylakeX user_api: openmp internal_api: openmp num_threads: 36 prefix: libgomp filepath: /home/circleci/.pyenv/versions/3.11.14/lib/python3.11/site-packages/scikit_learn.libs/libgomp-a34b3233.so.1.0.0 version: None