Installation#
This section presents how to install the Canari libraty using either PyPi, or through a local installation for developpement purposes. Note that prior to installing, you should first create a Miniconda environement in order to ensure the compatibility with the pyTAGI external library.
Create Miniconda Environment#
Install Miniconda by following these instructions.
Create a conda environment named
canari
:conda create --name canari python=3.10
Activate conda environment:
conda activate canari
Installing from PyPi#
Install pycanari package
pip install pycanari
Install requirements
pip install -r requirements.txt
(Optional) If facing errors installing the pytagi library in the requirements, do the following:
conda install -c conda-forge libstdcxx-ng
Installing locally#
Clone this repository:
git clone https://github.com/Bayes-Works/canari.git cd canari
Create conda environment following the above instructions
Install requirements
pip install -r requirements.txt
Install pycanari package
pip install .