stephenslab / dsc

Repo for Dynamic Statistical Comparisons project
https://stephenslab.github.io/dsc-wiki
MIT License
12 stars 12 forks source link

dsc-query error ERROR: __init__() got multiple values for argument 'schema' #231

Open jean997 opened 1 year ago

jean997 commented 1 year ago

Got this error running dscquery() in R

INFO: Loading database ...
INFO: Running queries ...
ERROR: __init__() got multiple values for argument 'schema'

Any ideas?

jean997 commented 1 year ago

Just an update -- I did a fresh install of dsc into a new conda environment and got a new error

INFO: Loading database ...
INFO: Running queries ...
ERROR: Argument 'placement' has incorrect type (expected pandas._libs.internals.BlockPlacement, got numpy.ndarray)

I think this is probably related to the version of one of the python packages. This error is with python 3.11.5, pandas 2.1.1 and numpy 1.26.0

The previous error was python 3.9.18, pandas 1.3.4 and numpy 1.21.3

jean997 commented 1 year ago

Alright one more update. I got it running with python 3.9.18 pandas 1.5.3 sqlalchemy 1.4.49

I think there may be a couple of compatibility issues with newer library versions based on the variety of error messages I saw getting to this combination.

pcarbo commented 1 year ago

Thanks for the bug report @jean997!

gaow commented 1 year ago

@jean997 we are also using DSC for a couple of projects. Let me ask my trainee to update their Python related setup to the latest version and try to bump into these so I can try to fix.