[Pkg-raspi-maintainers] Bug#971897:

kipp at g.ecc.u-tokyo.ac.jp kipp at g.ecc.u-tokyo.ac.jp
Sat Oct 17 11:59:32 BST 2020


Hi,

It's not just the pinout script, the library is non-functional without pkg-
resources installed:

$ python3 -c "import gpiozero"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/gpiozero/__init__.py", line 22, in
<module>
    from .devices import (
  File "/usr/lib/python3/dist-packages/gpiozero/devices.py", line 19, in
<module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

Installing python3-pkg-resources fixes this example.

							-Kipp



More information about the Pkg-raspi-maintainers mailing list