Skip to content

Commit abb7f6f

Browse files
committed
docs: add info how to override pip's default behavior
... when installing packages from PyPI.
1 parent 3a193a2 commit abb7f6f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

source/tutorials/installing-packages.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ Source Distributions vs Wheels
291291

292292
:ref:`pip` can install from either :term:`Source Distributions (sdist) <Source
293293
Distribution (or "sdist")>` or :term:`Wheels <Wheel>`, but if both are present
294-
on PyPI, pip will prefer a compatible :term:`wheel <Wheel>`.
294+
on PyPI, pip will prefer a compatible :term:`wheel <Wheel>`. You can override
295+
pip`s default behavior by e.g. using its `--no-binary`_ option.
295296

296297
:term:`Wheels <Wheel>` are a pre-built :term:`distribution <Distribution
297298
Package>` format that provides faster installation compared to :term:`Source
@@ -302,6 +303,8 @@ If :ref:`pip` does not find a wheel to install, it will locally build a wheel
302303
and cache it for future installs, instead of rebuilding the source distribution
303304
in the future.
304305

306+
.. _--no-binary: https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-no-binary
307+
305308

306309
Upgrading packages
307310
==================

0 commit comments

Comments
 (0)