Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ffc688a

Browse files
committed
Add pip install command for meson-python and ninja
1 parent 54ce5f6 commit ffc688a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/developers/advanced_installation.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -210,17 +210,17 @@ Support for Meson is experimental, in scikit-learn 1.5.0.dev0.
210210
`Open an issue <https://github.com/scikit-learn/scikit-learn/issues/new>`__ if
211211
you encounter any problems!
212212

213-
Make sure you have `meson-python` installed:
213+
Make sure you have `meson-python` and `ninja` installed, either with `conda`:
214214

215215
.. code-block:: bash
216216
217-
conda install -c conda-forge meson-python -y
217+
conda install -c conda-forge meson-python ninja -y
218218
219-
.. warning::
219+
or with pip:
220220

221-
Use conda for this, if you install meson-python with pip, this does not not
222-
include ninja, and you need another way to install ninja (e.g. package
223-
manager)
221+
.. code-block:: bash
222+
223+
pip install meson-python ninja
224224
225225
Simplest way to build with Meson
226226
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)