We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pi@raspberrypi:~ $ python dht11.py Traceback (most recent call last): File "dht11.py", line 2, in import dht11 File "/home/pi/dht11.py", line 12, in instance = dht11.DHT11(pin=14) AttributeError: 'module' object has no attribute 'DHT11'
The text was updated successfully, but these errors were encountered:
I have the same issue. Couldn't figure out why.
Sorry, something went wrong.
please try to change name of a script file to something different from library name you want to use.
Thanks! it works.
No branches or pull requests
pi@raspberrypi:~ $ python dht11.py
Traceback (most recent call last):
File "dht11.py", line 2, in
import dht11
File "/home/pi/dht11.py", line 12, in
instance = dht11.DHT11(pin=14)
AttributeError: 'module' object has no attribute 'DHT11'
The text was updated successfully, but these errors were encountered: