Instructions for installing civet locally
civet runs on MacOS and Linux. The conda environment recipe may not build on Windows (and is not supported) but civet can be run using the Windows subsystem for Linux.
- Some version of conda, we use Miniconda3. Can be downloaded from here
- Access to CLIMB or to a local data directory. More information about this data here
git clone https://github.com/COG-UK/civet.git
andcd civet
conda env create -f environment.yml
conda activate civet
python setup.py install
Note: we recommend using civet in the conda environment specified in the
environment.yml
file as per the instructions above. If you can't use conda for some reason, dependency details can be found in theenvironment.yml
file.
Type (in the civet environment):
civet
and you should see the help menu of civet printed
Note: Even if you have previously installed
civet
, as it is being worked on intensively, we recommend you check for updates before running.
To update:
conda activate civet
git pull
pulls the latest changes from githubpython setup.py install
re-installs civetconda env update -f environment.yml
updates the conda environment
- If you have previously installed civet using
pip
, you will need to update civet in the same way (pip install .
) - Try
pip uninstall civet
and then re-install withpython setup.py install