[Python] ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query'

Discussão em 'Python' iniciado por Stack, Maio 19, 2025.

  1. Stack

    Stack Membro Participativo

    After installing apache-superset using pip in virtual environment, I run:

    superset upgrade db


    I run into the following error:

    ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/ahmedawny/supersetenv/lib/python3.7/site-packages/sqlalchemy/orm/query.py)


    What is wrong, and how do I fix it?

    Continue reading...

Compartilhe esta Página