Skip to content

Commit

Permalink
Mention pipx, install --user --upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed Feb 8, 2024
1 parent 6a9be21 commit 123c0c7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,25 @@ try:
pip install --user ocrmypdf
(If the message appears ``Requirement already satisfied: ocrmypdf in...``,
you will need to use ``pip install --user --upgrade ocrmypdf``.)

You should then be able to run ``ocrmypdf --version`` and see that the
latest version was located.

Installing with pipx
====================

Some users may prefer pipx. As with the method above, you will need to
satisfy all non-Python dependencies. Then if pipx is installed, you
can use

.. code-block:: bash
pipx run ocrmypdf
(If not installed, pipx will install first.)

Requirements for pip and HEAD install
-------------------------------------

Expand Down

0 comments on commit 123c0c7

Please sign in to comment.