Skip to content

Weird Interaction with IBMDBPY #46

@GraemeHutcheon

Description

@GraemeHutcheon

If I import brunel and things from IBMDBPY in the same cell when I access the routine in IBMDBPY is complain that it cannot find the DB2 drivers.
If I do not include brunel and rerun it works.
Seems like brunel is doing something which as a side effect on IBMDBPY.

import numpy as np
import pandas as pd
from ibmdbpy.base import IdaDataBase
import brunel

db=IdaDataBase(dsn=DATABASE, uid=USER, pwd=PASSWORD)

Will cause unable to find driver error but

import numpy as np
import pandas as pd
from ibmdbpy.base import IdaDataBase
# import brunel

db=IdaDataBase(dsn=DATABASE, uid=USER, pwd=PASSWORD)

will work

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions