question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError on superset db upgrade

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
vietvudanhcommented, Jun 18, 2019

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

1reaction
villebrocommented, May 16, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError on superset db upgrade · Issue #7514 - GitHub
Hi, when I tried to run superset db upgrade I got the error "AttributeError: module 'sqlalchemy.util' has no attribute 'deprecated_params'".
Read more >
subject:"\[GitHub\] \[incubator\-superset ... - The Mail Archive
... issue #7514: AttributeError on superset db upgrade URL: https://github.com/apache/incubator-superset/issues/7514#issuecomment-493119721 I think I should ...
Read more >
T211605 Upgrade Superset to 0.28.1 - Wikimedia Phabricator
While testing the superset db upgrade command I got: ... not in base_permissions: AttributeError: 'NoneType' object has no attribute 'name' 2018-12-13 ...
Read more >
During installing of apache superset, while "superset db ...
The virtual environment you are using to run "superset db upgrade" has no superset installation. Confirm you are running the right virtual ...
Read more >
​Working with airbnb's Superset - Cloudera Community
I see in the Superset github page that it is tested only on python 2.7 but i am using hdp 2.5.3 which installed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found