Skip to content

ModuleNotFoundError: No module named 'gpiod.line'; 'gpiod' is not a package #28

@Praveenraj725

Description

@Praveenraj725

i am trying to run the example sx1278 receiver.py but i get this error:

iot@raspberrypi:~/test2/LoRaRF-Python/examples/SX127x $ sudo python3 receiver.py
Traceback (most recent call last):
File "/home/iot/test2/LoRaRF-Python/examples/SX127x/receiver.py", line 4, in
from LoRaRF import SX127x, LoRaSpi, LoRaGpio
File "/home/iot/test2/LoRaRF-Python/LoRaRF/init.py", line 2, in
from .base import LoRaSpi, LoRaGpio
File "/home/iot/test2/LoRaRF-Python/LoRaRF/base.py", line 3, in
from gpiod.line import Direction, Value, Edge
ModuleNotFoundError: No module named 'gpiod.line'; 'gpiod' is not a package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions