Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/user/workspace/venv/lib/python3.6/site-packages/metric_learn/__init__.py", line 9, in <module>

from .nca import NCA


 "/home/user/workspace/venv/lib/python3.6/site-packages/metric_learn/nca.py", line 13, in <module>

from sklearn.utils.fixes import logsumexp
ImportError: cannot import name 'logsumexp'

Traceback (most recent call last):


 "/usr/local/bin/airflow", line 8, in <module>

sys.exit(main())


 "/usr/local/lib/python3.7/site-packages/airflow/__main__.py", line 40, in main

args.func(args)


 "/usr/local/lib/python3.7/site-packages/airflow/cli/cli_parser.py", line 48, in command

return func(*args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/airflow/cli/commands/db_command.py", line 31, in initdb

db.initdb()


 "/usr/local/lib/python3.7/site-packages/airflow/utils/db.py", line 549, in initdb

upgradedb()


 "/usr/local/lib/python3.7/site-packages/airflow/utils/db.py", line 684, in upgradedb

command.upgrade(config, 'heads')


 "/usr/local/lib/python3.7/site-packages/alembic/command.py", line 294, in upgrade

script.run_env()


 "/usr/local/lib/python3.7/site-packages/alembic/script/base.py", line 490, in run_env

util.load_python_file(self.dir, "env.py")


 "/usr/local/lib/python3.7/site-packages/alembic/util/pyfiles.py", line 97, in load_python_file

module = load_module_py(module_id, path)


 "/usr/local/lib/python3.7/site-packages/alembic/util/compat.py", line 182, in load_module_py

spec.loader.exec_module(module)


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/usr/local/lib/python3.7/site-packages/airflow/migrations/env.py", line 108, in <module>

run_migrations_online()


 "/usr/local/lib/python3.7/site-packages/airflow/migrations/env.py", line 102, in run_migrations_online

context.run_migrations()


 "<string>", line 8, in run_migrations


 "/usr/local/lib/python3.7/site-packages/alembic/runtime/environment.py", line 813, in run_migrations

self.get_context().run_migrations(**kw)


 "/usr/local/lib/python3.7/site-packages/alembic/runtime/migration.py", line 548, in run_migrations

for step in self._migrations_fn(heads, self):


 "/usr/local/lib/python3.7/site-packages/alembic/command.py", line 283, in upgrade

return script._upgrade_revs(revision, rev)


 "/usr/local/lib/python3.7/site-packages/alembic/script/base.py", line 365, in _upgrade_revs

revs = list(revs)


 "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 904, in _iterate_revisions

requested_lowers = self.get_revisions(lower)


 "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 455, in get_revisions

return sum([self.get_revisions(id_elem) for id_elem in id_], ())


 "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 455, in <listcomp>

return sum([self.get_revisions(id_elem) for id_elem in id_], ())


 "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 457, in get_revisions

resolved_id, branch_label = self._resolve_revision_number(id_)


 "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 640, in _resolve_revision_number

self._revision_map


 "/usr/local/lib/python3.7/site-packages/alembic/util/langhelpers.py", line 234, in __get__

obj.__dict__[self.__name__] = result = self.fget(obj)


 "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 156, in _revision_map

for revision in self._generator():


 "/usr/local/lib/python3.7/site-packages/alembic/script/base.py", line 115, in _load_revisions

script = Script._from_filename(self, vers, file_)


 "/usr/local/lib/python3.7/site-packages/alembic/script/base.py", line 904, in _from_filename

module = util.load_python_file(dir_, filename)


 "/usr/local/lib/python3.7/site-packages/alembic/util/pyfiles.py", line 97, in load_python_file

module = load_module_py(module_id, path)


 "/usr/local/lib/python3.7/site-packages/alembic/util/compat.py", line 182, in load_module_py

spec.loader.exec_module(module)


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/usr/local/lib/python3.7/site-packages/airflow/migrations/versions/82b7c48c147f_remove_can_read_permission_on_config_.py", line 28, in <module>

from airflow.www.app import create_app


 "/usr/local/lib/python3.7/site-packages/airflow/www/app.py", line 38, in <module>

from airflow.www.extensions.init_views import (


 "/usr/local/lib/python3.7/site-packages/airflow/www/extensions/init_views.py", line 29, in <module>

from airflow.www.views import lazy_add_provider_discovered_options_to_connection_form


 "/usr/local/lib/python3.7/site-packages/airflow/www/views.py", line 96, in <module>

from airflow.www import auth, utils as wwwutils


 "/usr/local/lib/python3.7/site-packages/airflow/www/utils.py", line 27, in <module>

from flask_appbuilder.models.sqla.interface import SQLAInterface


 "/usr/local/lib/python3.7/site-packages/flask_appbuilder/models/sqla/interface.py", line 16, in <module>

from sqlalchemy_utils.types.uuid import UUIDType


 "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>

from .aggregates import aggregated
# noqa


 "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>

from .functions.orm import get_column_key


 "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>

from .database import (
# noqa


 "/usr/local/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py", line 11, in <module>

from .orm import quote


 "/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' (/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/query.py)
