pure_python_prereqs#

scikitplot.cython.pure_python_prereqs()[source]#

Check prerequisites for Scenario 1: newbie, pure Python, setuptools only.

No Cython, pybind11, or NumPy is required. Only setuptools (for building pure-Python packages with a setup.py) is checked.

Returns:
dict[str, Any]

Keys: setuptools. Each value is a dict with ok: bool and either version: str or error: str.

Return type:

dict[str, Any]

Notes

Newbie user note: if setuptools["ok"] is False, install it with pip install setuptools. No C compiler is needed for pure Python packages.

Examples

>>> result = pure_python_prereqs()
>>> "setuptools" in result
True