Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Changelog
changes
^^^^^^^

- document that the package should be installed as ``python-escpos``, not the
unrelated ``escpos`` package

contributors
^^^^^^^^^^^^
Expand Down
10 changes: 10 additions & 0 deletions doc/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ always install from PyPi.
If you use the ``--pre`` parameter for ``pip``, you will get the latest
pre-release.

.. note::

The PyPI package name is ``python-escpos``. The unrelated and discontinued
package named ``escpos`` uses the same ``escpos`` import namespace and can
shadow python-escpos if both are installed in the same environment. If an
import such as ``from escpos.printer import Usb`` fails with
``ImportError: cannot import name 'DeviceNotFoundError' from
'escpos.exceptions'``, remove the ``escpos`` package and reinstall
``python-escpos`` in a clean environment.

The following installation options exist:

* `all`: install all packages available for this platform
Expand Down