Skip to content

Make sure libgpiod is installederror with sudo #5

@rinty35

Description

@rinty35

Hi

When i test python script to read DHT22 with my "pi" user it's ok.
When i test the same python script with sudo i've this error "RuntimeError: Timed out waiting for PulseIn message. Make sure libgpiod is installed."

I found other people who have the same problem but i don't find solution.

In my case, i'm on a raspberry B+ first generation with a raspbian 10 buster.
If we have a solution or idea, i'm very interesting.

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