cython_cpp_prereqs#
- scikitplot.cython.cython_cpp_prereqs()[source]#
Check prerequisites for Scenario 2: newbie, compile C++ via Cython.
Requires Cython only. NumPy is optional; setuptools is optional (the Cython compiler transpiles the
.pyxto C++ which can be compiled separately).- Returns:
- dict[str, Any]
Keys:
cython. Each value is a dict withok: bool.
- Return type:
Notes
Newbie user note: install Cython with
pip install Cython. You also need a working C++ compiler (gcc/g++on Linux, Xcode on macOS, MSVC on Windows).Examples
>>> result = cython_cpp_prereqs() >>> "cython" in result True