From b5ace8b53b06b7410ceb28a19b90f6a6ea82237c Mon Sep 17 00:00:00 2001 From: Richard Brown <33289025+rijobro@users.noreply.github.com> Date: Fri, 14 Jan 2022 13:28:09 +0000 Subject: [PATCH] install from/with conda install fresh from conda or install dependencies using environment-dev.yml Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> --- docs/source/installation.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/source/installation.md b/docs/source/installation.md index 2635a6c386..9cd641a579 100644 --- a/docs/source/installation.md +++ b/docs/source/installation.md @@ -4,6 +4,7 @@ 1. [From PyPI](#from-pypi) 1. [Milestone release](#milestone-release) 2. [Weekly preview release](#weekly-preview-release) +1. [From conda-forge](#from-conda-forge) 2. [From GitHub](#from-github) 1. [System-wide](#milestone-release) 2. [Editable](#weekly-preview-release) @@ -47,6 +48,13 @@ To report any issues on the weekly preview, please include the version and commi python -c "import monai; print(monai.__version__); print(monai.__commit_id__)" ``` +## From conda-forge + +To install the [current milestone release](https://pypi.org/project/monai/): +```bash +conda install -c conda-forge monai +``` + ## From GitHub (_If you have installed the PyPI release version using ``pip install monai``, please run ``pip uninstall @@ -163,13 +171,20 @@ cd MONAI/ pip install -e '.[all]' ``` -To install all optional dependencies for MONAI development: +To install all optional dependencies for MONAI development with `pip`: ```bash git clone https://github.com/Project-MONAI/MONAI.git cd MONAI/ pip install -r requirements-dev.txt ``` +To install all optional dependencies for MONAI development with `conda`: +```bash +git clone https://github.com/Project-MONAI/MONAI.git +cd MONAI/ +conda env update -n -f environment-dev.yml +``` + Since MONAI v0.2.0, the extras syntax such as `pip install 'monai[nibabel]'` is available via PyPI. - The options are