Skip to content

TypeError: 'module' object is not callable with Python 3.7.3 #30

Description

@grilli303

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions