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

unable to import DbTaxon from .db #188

Open
maheen562 opened this issue Nov 26, 2024 · 1 comment
Open

unable to import DbTaxon from .db #188

maheen562 opened this issue Nov 26, 2024 · 1 comment
Labels
question Further information is requested

Comments

@maheen562
Copy link

maheen562 commented Nov 26, 2024

I am encountering an issue while using the pynaturalist_convert package with a DwCA file. The error message states:

ImportError: cannot import name 'DbTaxon' from 'pyinaturalist_convert.db'
I am using pynaturalist-convert version 0.6.5 with Python 3.8.2.

Is this a known issue, or is there a solution or workaround for this problem? This error does not occur when I use version 0.5.0.0.
Any guidance would be appreciated!

@maheen562 maheen562 added the question Further information is requested label Nov 26, 2024
@JWCook
Copy link
Member

JWCook commented Dec 1, 2024

It's possible that a compatible version of SQLAlchemy is missing. Try:

pip install -U 'sqlalchemy>=2.0'

If that doesn't work, could you show me a code snippet to reproduce this, the full traceback, and the output of pip freeze?

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

No branches or pull requests

2 participants