Skip to content

TypeError: 'module' object is not callable #21

Description

@jmath1983

Hello there!

I'm trying to read a DBC I've dowloaded from the Brazilian Public Health Data (DataSUS). Here is the code:

import pyreaddbc

df = pyreaddbc.readdbc("sismama-cm_201301-ac_20220831.dbc", encoding="iso-8859-1")
print(df)

This is the output:

Traceback (most recent call last): File "/home/juliano/p/python/matheus/teste.py", line 3, in <module> df = pyreaddbc.readdbc("sismama-cm_201301-ac_20220831.dbc", encoding="iso-8859-1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'module' object is not callable

I'v tried using read_dbc also, same output.

Any ideas?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions