bpo-22295: use python -m pip rather than plain pip in more examples (GH-24003)

This commit is contained in:
Ville Skyttä 2022-04-09 21:37:01 +03:00 committed by GitHub
parent f52d987abf
commit dc14e33eff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

View file

@ -43,7 +43,7 @@ something into it:
$ python3 -m venv example
$ source example/bin/activate
(example) $ pip install wheel
(example) $ python -m pip install wheel
You can get the version string for ``wheel`` by running the following:

View file

@ -721,7 +721,7 @@ Substantially all of these recipes and many, many others can be installed from
the `more-itertools project <https://pypi.org/project/more-itertools/>`_ found
on the Python Package Index::
pip install more-itertools
python -m pip install more-itertools
The extended tools offer the same high performance as the underlying toolset.
The superior memory performance is kept by processing elements one at a time