Installation
Package installation
Leaspy requires Python >= 3.8
Create a dedicated environment (optional):
Using conda
:
conda create --name leaspy python=3.9
conda activate leaspy
Or using pyenv
:
pyenv virtualenv leaspy
pyenv local leaspy
Install
leaspy
withpip
:pip install leaspy
It will automatically install all needed dependencies.
Notebook configuration
After installation, you can run the examples in Leaspy in a nutshell and in the Leaspy API.
To do so, in your
leaspy
environment, you can download ipykernel
to use leaspy
with jupyter
notebooksconda install ipykernel
python -m ipykernel install --user --name=leaspy
Now, you can open jupyter lab
or jupyter notebook
and select the leaspy
kernel.