Adafruit_DHT error in dh11.py from Lesson 7 (room temp and humidity)
I'm working through the lessons for CrowPi v2, and am on Lesson 7 ("Detect room temperature and humidity") which uses the DH11 module. When I try to run dh11.py, however, I get the following output:
pi@raspberrypi:~/Desktop/CrowPi/Examples $ sudo python dh11.py
Traceback (most recent call last):
File "dh11.py", line 33, in
humidity, temperature = Adafruit_DHT.read_retry(sensor, pin)
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 94, in read_retry
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 80, in read
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 60, in get_platform
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/Beaglebone_Black.py", line 24, in
ImportError: cannot import name Beaglebone_Black_Driver
pi@raspberrypi:~/Desktop/CrowPi/Examples $
How can I resolve this? I am unfortunately not terribly familiar with either linux or python, so I have quickly reached the limits of my troubleshooting abilities.
Comments
sudo python3 dh11.py