Skip to content

Commit 7f2d502

Browse files
committed
ODC: add note to PYTHONUSERBASE about PYHTONNOUSERSITE
Otherwise it is not clear how to disable user site-packages. Even though it is directly above, the link from the search results put the top of the page on PYHONUSERBASE and the user may not think to scroll up for critical context.
1 parent 75f9dac commit 7f2d502

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/using/cmdline.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,9 @@ conflict.
957957
and :ref:`installation paths <sysconfig-user-scheme>` for
958958
``python -m pip install --user``.
959959

960+
To disable the user site-packages, see :envar:`PYTHONNOUSERSITE` or the :option:`-s`
961+
option.
962+
960963
.. seealso::
961964

962965
:pep:`370` -- Per user site-packages directory

0 commit comments

Comments
 (0)