You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/development/python/dht11/dht11.py", line 2, in
import adafruit_dht
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/adafruit_dht.py", line 32, in
from digitalio import DigitalInOut, Pull, Direction
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/digitalio.py", line 27, in
from adafruit_blinka.microcontroller.bcm2712.pin import *
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/adafruit_blinka/microcontroller/bcm2712/pin.py", line 5, in
from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/adafruit_blinka/microcontroller/generic_linux/libgpiod_pin.py", line 8, in
raise ImportError(
ImportError: libgpiod Python bindings not found, please install and try again! See https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/blob/master/libgpiod.sh`
Hi, the code in this area has changed slightly. does upgrading Blinka help? When you upgrade, you may still be prompted to install libgpiod python bindings; clicking that link will take you to the Installer Script library to install and the specific script you will need to use. The library README in the repository has general installation and usage instructions.
Script Command
Operating System
6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
Hardware
Raspberry Pi 5 Model B
Behavior
`ImportError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/development/python/dht11/dht11.py", line 2, in
import adafruit_dht
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/adafruit_dht.py", line 32, in
from digitalio import DigitalInOut, Pull, Direction
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/digitalio.py", line 27, in
from adafruit_blinka.microcontroller.bcm2712.pin import *
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/adafruit_blinka/microcontroller/bcm2712/pin.py", line 5, in
from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
File "/home/user/development/python/dht11/env/lib/python3.11/site-packages/adafruit_blinka/microcontroller/generic_linux/libgpiod_pin.py", line 8, in
raise ImportError(
ImportError: libgpiod Python bindings not found, please install and try again! See https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/blob/master/libgpiod.sh`
Description
I want to read data from DHT11 sensor.
(https://pimylifeup.com/raspberry-pi-dht11-sensor/)
I've installed everything on the right way, nevertheless I cannot read any data.
I cannot do any operation on GPIO. Neither sensors nor relays.
Additional information
No response
The text was updated successfully, but these errors were encountered: