EMCP edited a comment 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'})
   ```
   
   
   edit:
   
   After some gnashing of teeth and trial and error.. I seem to have gotten 
past this error with the following commands
   
   ```
   apt-get update
   apt-get -y install build-essential libssl-dev libffi-dev python3-dev 
python3-pip libsasl2-dev libldap2-dev
    
   pip install itsdangerous==1.1.0
   pip install sqlalchemy==1.3.24
   pip install flask-appbuilder==3.1.1
   pip install apache-superset
   ```
   
   unfortunately it still fails downstream from here at certain points.. still 
trying to figure out why


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to