Skip to content

DOC do not recommend a particular Python version #29071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/developers/advanced_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ feature, code or documentation improvement).
If you plan on submitting a pull-request, you should clone from your fork
instead.

#. Install a recent version of Python (3.9 is recommended at the time of writing)
for instance using Miniforge3_. Miniforge provides a conda-based distribution
of Python and the most popular scientific libraries.
#. Install a recent version of Python (3.9 or later at the time of writing) for
instance using Miniforge3_. Miniforge provides a conda-based distribution of
Python and the most popular scientific libraries.

If you installed Python with conda, we recommend to create a dedicated
`conda environment`_ with all the build dependencies of scikit-learn
(namely NumPy_, SciPy_, Cython_, meson-python_ and Ninja_):

.. prompt:: bash $

conda create -n sklearn-env -c conda-forge python=3.9 numpy scipy cython meson-python ninja
conda create -n sklearn-env -c conda-forge python numpy scipy cython meson-python ninja

It is not always necessary but it is safer to open a new prompt before
activating the newly created conda environment.
Expand Down
Loading