Skip to content
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 #21

Open
jmath1983 opened this issue Oct 5, 2024 · 0 comments
Open

TypeError: 'module' object is not callable #21

jmath1983 opened this issue Oct 5, 2024 · 0 comments

Comments

@jmath1983
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant