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

Observation and Fix: Sqlalchemy 2.0 Compatibility - Downgrade to Sqlalchemy 1.x #33

Open
pannoniac opened this issue Feb 1, 2023 · 0 comments

Comments

@pannoniac
Copy link

pannoniac commented Feb 1, 2023

Just for information and to help other users of Biophi:

I installed Biophi using miniforge by following instructions provided on the project's github page.
However there was a runtime error:
AttributeError: 'Engine' object has no attribute 'execute'

I could track the issue down to a change in Sqlalchemy 2.0. Downgrading to Sqlalchemy via conda did the trick:
https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
It is about engine.execute() which was deprecated in 1.4 and removed in 2.0.

$ conda install "sqlalchemy<2.0"
That installed sqlalchemy-1.4.46.

Kind regards and many thanks for providing Biophi, a great application!

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