From fa1012ca147417b252dd9fab78fce293b8bdb6d0 Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Mon, 11 Mar 2024 13:01:59 +0000 Subject: [PATCH] #3883 updates to install from source --- .../user_guide/installation/install-from-source.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/user_guide/installation/install-from-source.rst b/docs/source/user_guide/installation/install-from-source.rst index e5d793e043..68ae7b50a0 100644 --- a/docs/source/user_guide/installation/install-from-source.rst +++ b/docs/source/user_guide/installation/install-from-source.rst @@ -54,12 +54,14 @@ You can install the above with brew install python openblas gcc gfortran graphviz libomp Finally, we recommend using `Nox `_. -You can install it with +You can install it to your local user account (make sure you are not within a virtual environment) with .. code:: bash python3.X -m pip install --user nox +Note that running ``nox`` will create new virtual environments for you to use, so you do not need to create one yourself. + Depending on your operating system, you may or may not have ``pip`` installed along Python. If ``pip`` is not found, you probably want to install the ``python3-pip`` package. @@ -158,7 +160,7 @@ It comes ready with PyBaMM and some useful development tools like `pre-commit