From 7eca5943538ed04b97ea99e0ce143c361025d183 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Mon, 1 Jul 2024 10:45:16 +0200 Subject: [PATCH] Doc: Update installation under conda * anaconda -> conda (to include miniconda) * not recommended * Include installation hint from #2404. Closes #2402. --- documentation/python_installation.rst | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/documentation/python_installation.rst b/documentation/python_installation.rst index 3c893bcd61..d1e5f37f0a 100644 --- a/documentation/python_installation.rst +++ b/documentation/python_installation.rst @@ -360,16 +360,19 @@ environment variables: | | Default: ``ON`` | | +----------------------------+----------------------------------+---------------------------------+ -Installation under Anaconda ---------------------------- +Installation under conda +------------------------ -To use an Anaconda installation of Python -`https://www.anaconda.com/distribution/ `_, -Python>=3.7), proceed as follows: +There is no amici conda recipe available yet. However, you can install AMICI +using pip in a conda environment. -Since Anaconda provides own versions of some packages which might not -work with AMICI (in particular the ``gcc`` compiler), create a minimal -virtual environment via: +.. note:: + + It is possible, but we currently don't recommend using conda for installing + AMICI, as it commonly leads to conflicts with system installations of + libraries and compilers. + +Create a minimal conda environment via: .. code-block:: bash @@ -415,7 +418,7 @@ Now, you are ready to use AMICI in the virtual environment. .. note:: - **Anaconda on Mac** + **conda on Mac** If the above installation does not work for you, try installing AMICI via: @@ -437,6 +440,9 @@ Now, you are ready to use AMICI in the virtual environment. (For further discussion see https://github.com/AMICI-dev/AMICI/issues/357) +Known issues: + +* ``CMAKE_AR-NOTFOUND: not found``: Try ``conda install binutils``. Optional Boost support ----------------------