Unable to open chip: gpiochip0
Traceback (most recent call last):
File “/home/ …”, line 9, in
dhtDevice = adafruit_dht.DHT22(board.D4)
File “/home/ …/python3.8/site-packages/adafruit_dht.py”, line 305, in init
super().init(False, pin, 1000, use_pulseio)
File “/home/ …/python3.8/site-packages/adafruit_dht.py”, line 86, in init
self.pulse_in = PulseIn(self._pin, maxlen=self._max_pulses, idle_state=True)
File “/home/ …/python3.8/site-packages/adafruit_blinka/microcontroller/bcm283x/pulseio/PulseIn.py”, line 80, in init
message = self._wait_receive_msg(timeout=0.25)
File “/home/ …/python3.8/site-packages/adafruit_blinka/microcontroller/bcm283x/pulseio/PulseIn.py”, line 98, in _wait_receive_msg raise RuntimeError( RuntimeError: Timed out waiting for PulseIn message. Make sure libgpiod is installed.