From 429d089d0a8fbd400e0c010708df4f0d16218970 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 23 Dec 2020 07:20:40 -0800 Subject: [PATCH] Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in docs. --- docs/internals/contributing/writing-code/coding-style.txt | 2 +- docs/ref/contrib/gis/install/index.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt index 739ff0f4b9..66cbb2f8bb 100644 --- a/docs/internals/contributing/writing-code/coding-style.txt +++ b/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 diff --git a/docs/ref/contrib/gis/install/index.txt b/docs/ref/contrib/gis/install/index.txt index 2a39cb9137..687fe5d59d 100644 --- a/docs/ref/contrib/gis/install/index.txt +++ b/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