Skip to content

installing python accounting #5

@DJBob60

Description

@DJBob60

I am trying to install the python-accounting package, but the following error message appears,
this seems a rather basic definition error, but I can't figure it out. Is it me or is the error real?


AttributeError Traceback (most recent call last)
Cell In[1], line 5
2 from python_accounting.models import Base
3 from sqlalchemy import create_engine
----> 5 database = config.database
6 engine = create_engine(database["url"])
8 Base.metadata.create_all(engine)

AttributeError: module 'python_accounting.config' has no attribute 'database'

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