Pārlūkot izejas kodu

Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in docs.

Jon Dufresne 4 gadi atpakaļ
vecāks
revīzija
429d089d0a

+ 1 - 1
docs/internals/contributing/writing-code/coding-style.txt

@@ -19,7 +19,7 @@ To use the tool, first install ``pre-commit`` and then the git hooks::
 
 .. console::
 
-    $ pip install pre-commit
+    $ python -m pip install pre-commit
     $ pre-commit install
 
 On the first commit ``pre-commit`` will install the hooks, these are

+ 1 - 1
docs/ref/contrib/gis/install/index.txt

@@ -494,7 +494,7 @@ The ``psycopg2`` Python module provides the interface between Python and the
 PostgreSQL database. ``psycopg2`` can be installed via pip within your Python
 virtual environment::
 
-    pip install psycopg2
+    ...\> py -m pip install psycopg2
 
 .. rubric:: Footnotes
 .. [#] GeoDjango uses the :func:`~ctypes.util.find_library` routine from