-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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
TypeError: 'module' object is not callable with Python 3.7.3 #30
Comments
The fix is simple. Change the line "from RPi_AS3935...." in _ init _.py to "from .RPi_AS3935....". |
that didn't seem to fix it... |
This worked for me on Python 3.7.3:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there
I tried to run demo.py with Python 3.7.3 and get the following error:
Traceback (most recent call last):
File "demo.py", line 13, in
sensor = RPi_AS3935(address=0x03, bus=1)
TypeError: 'module' object is not callable
When I run demo.py with Python 2.7.16 it works
Does someone can know, how I can modify the code to make it work with Python 3.7.3 ?
Kind regards, Daniel
The text was updated successfully, but these errors were encountered: