Install

1 Requirements

CompStats is a pure-Python package. Its runtime dependencies are numpy, scikit-learn (version 1.3.0 or later), pandas, seaborn (version 0.13.0 or later) and statsmodels. The package tqdm is optional. When it is installed, progress bars are shown while the bootstrap samples are computed.

2 From PyPI

pip install CompStats

3 From conda-forge

conda install --channel conda-forge CompStats

4 From source

The following commands install the package in editable mode, together with the dependencies required to run the test suite.

git clone https://github.com/INGEOTEC/CompStats.git
cd CompStats
pip install -e ".[test]"

5 Checking the installation

The installed version is printed with the following command.

python -c "import CompStats; print(CompStats.__version__)"