(Adafruit_Python_DHT - Raspberry Pi) in get_platform RuntimeError: Unknown platform
问题 I have a Raspberry Pi 4 connected with a DHT22 sensor, and I want to read data from my sensor. So I installed the library Adafruit_DHT sudo pip3 install Adafruit_DHT then, I navigate to the directory Adafruit_Python_DHT/examples/ , and then, since I have a DHT 22 sensor connected to GPIO pi n° 4 , I run python AdafruitDHT.py 22 4 and I get (lab_app) root@Raspberry100:/var/www/lab_app/Adafruit_Python_DHT/examples# python AdafruitDHT.py 2302 4 Traceback (most recent call last): File