You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/05/29 16:41:52 UTC

[GitHub] [superset] EMCP commented on issue #14562: ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' in Ubuntu 20.04

EMCP commented on issue #14562:
URL: https://github.com/apache/superset/issues/14562#issuecomment-850862265


   @dpgaspar I attempted this but then got a different error
   
   ```
   ubuntu@juju-7ce481-20:~$ pip install sqlalchemy==1.3.24 --force-reinstall
   /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
     from cryptography.utils import int_from_bytes
   /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
     from cryptography.utils import int_from_bytes
   Collecting sqlalchemy==1.3.24
     Downloading SQLAlchemy-1.3.24-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB)
        |████████████████████████████████| 1.3 MB 28.2 MB/s 
   ERROR: flask-appbuilder 3.3.0 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 0.15.1 which is incompatible.
   Installing collected packages: sqlalchemy
   Successfully installed sqlalchemy-1.3.24
   ubuntu@juju-7ce481-20:~$ superset db upgrade
   Traceback (most recent call last):
     File "/usr/local/bin/superset", line 8, in <module>
       sys.exit(superset())
     File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
       return self.main(*args, **kwargs)
     File "/usr/local/lib/python3.8/dist-packages/flask/cli.py", line 586, in main
       return super(FlaskGroup, self).main(*args, **kwargs)
     File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
       rv = self.invoke(ctx)
     File "/usr/lib/python3/dist-packages/click/core.py", line 1132, in invoke
       cmd_name, cmd, args = self.resolve_command(ctx, args)
     File "/usr/lib/python3/dist-packages/click/core.py", line 1171, in resolve_command
       cmd = self.get_command(ctx, cmd_name)
     File "/usr/local/lib/python3.8/dist-packages/flask/cli.py", line 527, in get_command
       self._load_plugin_commands()
     File "/usr/local/lib/python3.8/dist-packages/flask/cli.py", line 523, in _load_plugin_commands
       self.add_command(ep.load(), ep.name)
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2444, in load
       self.require(*args, **kwargs)
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2467, in require
       items = working_set.resolve(reqs, env, installer, extras=self.extras)
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 792, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (itsdangerous 2.0.1 (/usr/local/lib/python3.8/dist-packages), Requirement.parse('itsdangerous<2.0,>=0.24'), {'Flask'})
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org