1.1. From GitHub¶
To install CoPro from GitHub, first clone the code. It is advised to create a separate environment first.
We recommend to use Anaconda or Miniconda to install CoPro as this was used to develop and test the model. For installation instructions, see here.
$ git clone https://github.com/JannisHoch/copro.git $ cd path/to/copro $ conda env create -f environment.yml
It is now possible to activate this environment with
$ conda activate copro
To install CoPro in editable mode in this environment, run this command next in the CoPro-folder:
$ pip install -e .
1.2. From PyPI¶
To install CoPro directly from PyPI, use the following command.
pip install copro
1.3. From conda¶
This is not yet supported. Feel invited to provide a pull request enabling installation via conda.