Skip to content

No module named 'gpiod' #24

Open
Open
@AsgerKennet

Description

@AsgerKennet

Im trying to run the reciver.py in examples but is getting the error "no module name gpiod"
Its the same in "this issue"..

I have tried to write this
(LoRa) toor@kennet:~ $ python3 -c "import gpiod; print( gpiod.__file__ )" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'gpiod'

But have install python3-libgpiod

Activity

Excalibur888

Excalibur888 commented on May 7, 2024

@Excalibur888

Try pip install gpiod in your venv
or pip install gpiod --break-system-packages if you are not in a virtual environement

AsgerKennet

AsgerKennet commented on May 7, 2024

@AsgerKennet
Author

I have already tried so in another virtual environement but some classes and methods are missing..
But I copyed the /usr/lib/python3/dist-packages/gpiod.cpython-311-aarch64-linux-gnu.so from the python3-libgpiod
to my new environement and it works - kinda...
Somehow it will not recive my LoRa signal from my microcontroller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @Excalibur888@AsgerKennet

        Issue actions

          No module named 'gpiod' · Issue #24 · chandrawi/LoRaRF-Python