diff options
author | Phil Elson <philip.elson@cern.ch> | 2023-02-03 12:00:14 +0100 |
---|---|---|
committer | Phil Elson <philip.elson@cern.ch> | 2023-02-06 09:14:52 +0100 |
commit | a2b0eb683821ec4f16f953de76aef58378767d05 (patch) | |
tree | 3d86af91d9c2eeadb0abb93499edfd1042395dc3 | |
parent | 56e5fa3c0fd0544e7b5b9b89d9d7854b82d51242 (diff) | |
download | pip-a2b0eb683821ec4f16f953de76aef58378767d05.tar.gz |
Document the limitations of the pip install --prefix argument, and cross-reference the --python flag, which can be harder to find due to it being a pip level argument
-rw-r--r-- | src/pip/_internal/commands/install.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pip/_internal/commands/install.py b/src/pip/_internal/commands/install.py index cecaac2bc..739de020d 100644 --- a/src/pip/_internal/commands/install.py +++ b/src/pip/_internal/commands/install.py @@ -156,7 +156,12 @@ class InstallCommand(RequirementCommand): default=None, help=( "Installation prefix where lib, bin and other top-level " - "folders are placed" + "folders are placed. Note that the resulting installation may " + "contain scripts and other resources which reference the " + "Python interpreter of pip, and not that of ``--prefix``. " + "See also the ``--python`` option if the intention is to " + "install packages into another (possibly pip-free) " + "environment." ), ) |