johnseekins opened a new issue #9110: Superset install pulls in werkzeug 1.0 
which has changed paths for imports, breaking the intsall
URL: https://github.com/apache/incubator-superset/issues/9110
 
 
   A clear and concise description of what the bug is.
   
   ### Expected results
   Superset runs
   
   ### Actual results
   ```root@use1-hadoop-16:/datto/monitoring/superset# 
/datto/monitoring/superset/.pyenv/versions/3.6.8/bin/superset init
   Traceback (most recent call last):
     File "/datto/monitoring/superset/.pyenv/versions/3.6.8/bin/superset", line 
21, in <module>
       from superset.cli import create_app
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/superset/__init__.py",
 line 27, in <module>
       from flask_appbuilder import AppBuilder, IndexView, SQLA
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/flask_appbuilder/__init__.py",
 line 5, in <module>
       from .api import ModelRestApi  # noqa: F401
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/flask_appbuilder/api/__init__.py",
 line 10, in <module>
       from flask_babel import lazy_gettext as _
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/flask_babel/__init__.py",
 line 19, in <module>
       from werkzeug import ImmutableDict
   ImportError: cannot import name 'ImmutableDict'
   ```
   root@use1-hadoop-16:/datto/monitoring/superset# 
/datto/monitoring/superset/.pyenv/versions/3.6.8/bin/superset init
   Traceback (most recent call last):
     File "/datto/monitoring/superset/.pyenv/versions/3.6.8/bin/superset", line 
21, in <module>
       from superset.cli import create_app
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/superset/__init__.py",
 line 27, in <module>
       from flask_appbuilder import AppBuilder, IndexView, SQLA
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/flask_appbuilder/__init__.py",
 line 5, in <module>
       from .api import ModelRestApi  # noqa: F401
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/flask_appbuilder/api/__init__.py",
 line 10, in <module>
       from flask_babel import lazy_gettext as _
     File 
"/datto/monitoring/superset/.pyenv/versions/3.6.8/lib/python3.6/site-packages/flask_babel/__init__.py",
 line 19, in <module>
       from werkzeug import ImmutableDict
   ImportError: cannot import name 'ImmutableDict'
   
   #### How to reproduce the bug
   1. Install superset per regular instructions: `pip3 install apache-superset`
   2. attempt to run a superset command
   
   ### Environment
   
   - superset version: 0.35.2
   - python version: 3.6.8
   - node.js version: ? (not installed as this is a binary install)
   - npm version: ? (not installed as this is a binary install)
   
   ### 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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to