Skip to content

Commit 4e5d49b

Browse files
committed
Additional clarification on using conda-forge
1 parent f3310b4 commit 4e5d49b

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

docs/source/gettingStarted.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,15 @@ SimpleITK Conda binaries are available for the conda-forge ecosystem. To get sta
7979
.. code-block :: bash
8080
8181
conda create --name sitk python=3.11 simpleitk --channel conda-forge --override-channels
82+
conda activate sitk
8283
83-
This will create a new conda environment named ``sitk`` with Python 3.11 and SimpleITK installed from the `Anaconda
84+
This will create and activate a new conda environment named ``sitk`` with Python 3.11 and SimpleITK installed from the `Anaconda
8485
conda-forge channel <https://anaconda.org/conda-forge/simpleitk>`__. The version of python can be changed to any
8586
supported version.
8687

87-
To activate the environment, run:
88-
89-
.. code-block :: bash
90-
91-
conda activate sitk
92-
93-
Conda-forge now recommends not mixing the `default` channel with the conda-forge channel, since the
94-
mixing different libc versions can cause conflicts. Alternatively, the
88+
The above ``create`` command creates an environment which only used the conda-forge channel. This follows Conda-forge's
89+
recommendation to not mixing the ``default`` channel with the conda-forge channel. Mixing the channels can cause package
90+
dependency issues, missing libraries, and a non-functional virtual environment. Alternatively, the
9591
`miniforge <https://github.com/conda-forge/miniforge>`__ installer can be used to create dedicated conda-forge
9692
environments.
9793

0 commit comments

Comments
 (0)