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

Cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' #48

Closed
raphaelrpl opened this issue Mar 17, 2021 · 0 comments
Closed

Cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' #48

raphaelrpl opened this issue Mar 17, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@raphaelrpl
Copy link
Contributor

raphaelrpl commented Mar 17, 2021

File "/usr/local/lib/python3.7/site-packages/bdc_db/cli.py", line 15, in <module>
--
  File "/usr/local/lib/python3.7/site-packages/bdc_db/cli.py", line 15, in <module>
    from sqlalchemy_utils.functions import (create_database, database_exists,
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
    from .aggregates import aggregated  # noqa
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
    from .functions.orm import get_column_key
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
    from .database import (  # noqa
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py", line 11, in <module>
    from .orm import quote
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/functions/orm.py", line 14, in <module>
    from sqlalchemy.orm.query import _ColumnEntity
ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' 

Related with sqlalchemy/sqlalchemy#6000

@raphaelrpl raphaelrpl added the bug Something isn't working label Mar 17, 2021
@raphaelrpl raphaelrpl self-assigned this Mar 17, 2021
@raphaelrpl raphaelrpl added this to the Version 0.4.3 milestone Mar 17, 2021
gqueiroz added a commit that referenced this issue Mar 17, 2021
Fix import error for sqlalchemy_utils (close #48)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant