Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superset db upgrade pkg_resources.ContextualVersionConflict #8036

Closed
babybear1992 opened this issue Aug 13, 2019 · 3 comments
Closed

superset db upgrade pkg_resources.ContextualVersionConflict #8036

babybear1992 opened this issue Aug 13, 2019 · 3 comments

Comments

@babybear1992
Copy link

I follow the instructions to install superset. After installation, I execute the command superset db upgrade, the following error occurs:
pkg_resources.ContextualVersionConflict: (Flask 0.12.4 (/root/miniconda3/envs/ss/lib/python3.6/site-packages), Requirement.parse('Flask>=1.0'), {'Flask-JWT-Extended'})
I am confused and don't know how to slove this issue. Is there any guidance that I can reference to?

Screenshots

The screenshot is as below
Screen Shot 2019-08-13 at 5 03 08 PM

Environment

  • superset version: 0.28.1
  • python version: 3.6.7
  • Flask version: 0.12.4

Checklist

Make sure these boxes are checked 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.
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #question to this issue, with a confidence of 0.80. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@mikefab
Copy link

mikefab commented Aug 13, 2019

Solved this with:
pip install flask==1.0.0

Then ran into: "Can't determine which FROM clause to join from, there are multiple FROMS which can join to this entity."
Solved with:

pip install sqlalchemy==1.2.18
thanks to: #6977 (comment)

@babybear1992
Copy link
Author

Solved this with:
pip install flask==1.0.0

Then ran into: "Can't determine which FROM clause to join from, there are multiple FROMS which can join to this entity."
Solved with:

pip install sqlalchemy==1.2.18
thanks to: #6977 (comment)

Thanks, it worked finally!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants