File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/pip/_internal/commands Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ Cross-reference the ``--python `` flag from the ``--prefix `` flag,
2
+ and mention limitations of ``--prefix `` regarding script installation.
Original file line number Diff line number Diff line change @@ -156,7 +156,12 @@ def add_options(self) -> None:
156
156
default = None ,
157
157
help = (
158
158
"Installation prefix where lib, bin and other top-level "
159
- "folders are placed"
159
+ "folders are placed. Note that the resulting installation may "
160
+ "contain scripts and other resources which reference the "
161
+ "Python interpreter of pip, and not that of ``--prefix``. "
162
+ "See also the ``--python`` option if the intention is to "
163
+ "install packages into another (possibly pip-free) "
164
+ "environment."
160
165
),
161
166
)
162
167
You can’t perform that action at this time.
0 commit comments