Skip to content

ERROR: flask-appbuilder 3.4.4 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 1.0.0 which is incompatible. #18723

Description

@dataf3l

A clear and concise description of what the bug is.

ERROR: flask-appbuilder 3.4.4 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 1.0.0 which is incompatible.

How to reproduce the bug

  1. Go to 'pip install apache-superset'
  2. See error

Expected results

no pip error

Actual results

ERROR: flask-appbuilder 3.4.4 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 1.0.0 which is incompatible.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

(please complete the following information):

  • browser type and version: Ubuntu 20

  • superset version: `

  • superset version
    Traceback (most recent call last):
    File "/home/superset/code/venv/bin/superset", line 8, in
    sys.exit(superset())
    File "/home/superset/code/venv/lib/python3.8/site-packages/click/core.py", line 829, in call
    return self.main(*args, **kwargs)
    File "/home/superset/code/venv/lib/python3.8/site-packages/flask/cli.py", line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
    File "/home/superset/code/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
    File "/home/superset/code/venv/lib/python3.8/site-packages/click/core.py", line 1254, in invoke
    cmd_name, cmd, args = self.resolve_command(ctx, args)
    File "/home/superset/code/venv/lib/python3.8/site-packages/click/core.py", line 1297, in resolve_command
    cmd = self.get_command(ctx, cmd_name)
    File "/home/superset/code/venv/lib/python3.8/site-packages/flask/cli.py", line 527, in get_command
    self._load_plugin_commands()
    File "/home/superset/code/venv/lib/python3.8/site-packages/flask/cli.py", line 523, in _load_plugin_commands
    self.add_command(ep.load(), ep.name)
    File "/home/superset/code/venv/lib/python3.8/site-packages/pkg_resources/init.py", line 2442, in load
    self.require(*args, **kwargs)
    File "/home/superset/code/venv/lib/python3.8/site-packages/pkg_resources/init.py", line 2465, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
    File "/home/superset/code/venv/lib/python3.8/site-packages/pkg_resources/init.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
    pkg_resources.VersionConflict: (Flask-WTF 1.0.0 (/home/superset/code/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'))

  • `

  • python version: Python 3.8.10

  • node.js version: `-v

Command 'node' not found, but can be installed with:

apt install nodejs
Please ask your administrator.`

  • any feature flags active:

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar. (why would I do that?)

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions