File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,31 +20,9 @@ that is on your ``$PATH``. This allows each package to be upgraded or
2020uninstalled without causing conflicts with other packages, and allows you to
2121safely run the applications from anywhere.
2222
23- .. note :: pipx only works with Python 3.6+.
24-
25- pipx is installed with pip:
26-
27- .. tab :: Unix/macOS
28-
29- .. code-block :: bash
30-
31- python3 -m pip install --user pipx
32- python3 -m pipx ensurepath
33-
34- .. tab :: Windows
35-
36- .. code-block :: bat
37-
38- py -m pip install --user pipx
39- py -m pipx ensurepath
40-
41- .. note ::
42-
43- ``ensurepath `` ensures that the application directory is on your ``$PATH ``.
44- You may need to restart your terminal for this update to take effect.
45-
46- Now you can install packages with ``pipx install `` and run the package's
47- applications(s) from anywhere.
23+ After `installing pipx <https://pipx.pypa.io/stable/how-to/install-pipx.html >`_
24+ itself, you can then install packages with ``pipx install `` and run the
25+ package's applications from anywhere:
4826
4927.. code-block :: console
5028
Original file line number Diff line number Diff line change @@ -83,10 +83,10 @@ please install the latest 3.x version from `python.org`_ or refer to the
8383.. Note :: Due to the way most Linux distributions are handling the Python 3
8484 migration, Linux users using the system Python without creating a virtual
8585 environment first should replace the ``python `` command in this tutorial
86- with ``python3 `` and the `` python -m pip `` command with `` python3 -m pip --user ``. Do * not *
87- run any of the commands in this tutorial with ``sudo ``: if you get a
88- permissions error, come back to the section on creating virtual environments,
89- set one up, and then continue with the tutorial as written.
86+ with ``python3 ``. Do * not * run any of the commands in this tutorial with
87+ ``sudo ``: if you get a permissions error, come back to the section on
88+ creating virtual environments, set one up, and then continue with the
89+ tutorial as written.
9090
9191.. _getting started tutorial : https://opentechschool.github.io/python-beginners/en/getting_started.html#what-is-python-exactly
9292.. _python.org : https://www.python.org
@@ -404,8 +404,6 @@ Upgrade an already installed ``SomeProject`` to the latest from PyPI:
404404
405405 py -m pip install --upgrade SomeProject
406406
407- .. _`Installing to the User Site` :
408-
409407 Requirements files
410408==================
411409
You can’t perform that action at this time.
0 commit comments