Installation¶
Stable release¶
To install pyexplainer, run this command in your terminal:
$ pip install -u pyexplainer
This is the preferred method to install pyexplainer, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
If you are with conda, simply run the command below to install pyexplainer under your conda environment.
$ conda install -c conda-forge pyexplainer
From sources¶
The sources for pyexplainer can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/awsm-research/PyExplainer
Or download the tarball:
$ curl -OL https://github.com/awsm-research/PyExplainer/tarball/main
Once you have a copy of the source, cd to the main dir of pyexplainer:
$ cd pyexplainer
Then install it via poetry:
$ poetry install
If you do not have poetry installed yet, simply run the command below to install it, for more information, click here:
$ (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -