superset: AttributeError on superset db upgrade

Hi, when I tried to run superset db upgrade I got the error “AttributeError: module ‘sqlalchemy.util’ has no attribute ‘deprecated_params’”. I already tried downgrading my version of sqlalchemy but it didn’t help.

Screenshots

Screenshot from 2019-05-15 12-11-39

How to reproduce the bug

Run installation commands from https://superset.incubator.apache.org/installation.html, except with pip3 rather than pip.

Environment

(please complete the following information):

  • superset version: Most recent
  • python version: Python 2.7.15 :: Anaconda, Inc. (Note: I am using pip3 and python3 to get around version 2 req’s.) UPDATE: python version now Python 3.6.7 :: Anaconda, Inc. – still getting the same error.
  • node.js version: v11.6.0
  • npm version: 6.5.0-next.0

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • [ x ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [ x ] I have reproduced the issue with at least the latest released version of superset.
  • [ x ] I have checked the issue tracker for the same issue and I haven’t found one similar.

Additional context

Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 16 (14 by maintainers)

Most upvoted comments

Why does version not defined in setup script? both latest pandas and sqlalchemy failed with latest version of superset.

haha I seem to have typed that at the same time as you. happy to hear things worked out 👍