Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7513

Beginners • No module named adafruit_dht

$
0
0
Greetings to everyone, I am working on a school project that requires reading iot sensors like DHT22 with Rpi 3b. my OS version is aarch64

I setup Adafruit_DHT package but was getting Unknown Platform error when i tried to read the sensor using Adafruit_DHT.read.retry(a,b). After much digging, i discovered Adafruit_DHT is no longer supported and does not work.

I now switched to the recommended adafuit-circuitpython-dht packaged and installed it on virtual env. i also installed jupyter notebook on the virtual env. when i tried to import adafruit_dht, it come with MODULENOTFOUNDERROR: No module named ' adafruit_dht ' .

I have check the env/lib64/python3.11/site-packages and confirm that adafruit_dht file is included in the directory. Please can someone assist me to resolve this issue. Thank you

Statistics: Posted by Chidi Apu — Sun Nov 30, 2025 3:50 am — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 7513

Trending Articles