Install#
Tip
This page assumes you are comfortable using a terminal and are familiar with package managers. The only prerequisite for installing discrimintools is Python itself.
Virtual environment#
Install the 64-bit version of Python 3, for instance from the official website. Now create a virtual environment (venv) and install discrimintools.
Note
The virtual environment is optional but strongly recommended, in order to avoid potential conflicts with other packages.
PS C:\> python -m venv discrimintools-env # create virtual env
PS C:\> discrimintools-env\Scripts\activate # activate
PS C:\> pip install -U discrimintools # install discrimintools
Version#
In order to check your installation, you can use.
import discrimintools
print(discrimintools.__version__)
Using an isolated environment such as pip venv or conda makes it possible to install a specific version of discrimintools with pip and conda and its dependencies independently of any previously installed Python packages.
Note
You should always remember to activate the environment of your choice prior to running any Python command whenever you start a new terminal session.
Dependencies#
discrimintools is compatible with python version which supports both dependencies :
Dependency |
Version |
|---|---|
statsmodels |
0.14.6 |
scikit-learn |
1.8.0 |
openpyxl |
3.1.5 |
tabulate |
0.9.0 |
plotnine |
0.15.1 |
adjustText |
1.3.0 |