AttributeError on superset db upgrade
See original GitHub issueHi, 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
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:
- Created 4 years ago
- Comments:16 (14 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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 👍