Skip to content

Commit 0cb7def

Browse files
authored
DOC Fixes build from source instructions (scikit-learn#21004)
1 parent 047cc2e commit 0cb7def

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/developers/advanced_installation.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ feature, code or documentation improvement).
6060
#. Optional (but recommended): create and activate a dedicated virtualenv_
6161
or `conda environment`_.
6262

63-
#. Install Cython_ and build the project with pip in :ref:`editable_mode`:
63+
#. Install NumPy_, SciPy_, and Cython_ and build the project with pip in
64+
:ref:`editable_mode`:
6465

6566
.. prompt:: bash $
6667

67-
pip install cython
68+
pip install numpy scipy cython
6869
pip install --verbose --no-build-isolation --editable .
6970

7071
#. Check that the installed scikit-learn has a version number ending with
@@ -436,6 +437,8 @@ the base system and these steps will not be necessary.
436437

437438
.. _OpenMP: https://en.wikipedia.org/wiki/OpenMP
438439
.. _Cython: https://cython.org
440+
.. _NumPy: https://numpy.org
441+
.. _SciPy: https://www.scipy.org
439442
.. _Homebrew: https://brew.sh
440443
.. _virtualenv: https://docs.python.org/3/tutorial/venv.html
441444
.. _conda environment: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html

0 commit comments

Comments
 (0)