lokeshjain2008 commented on issue #6966:
URL: https://github.com/apache/superset/issues/6966#issuecomment-1156243713

   Getting the issue while running `superset` on Ubuntu, 20.04 LTS, amd64 
machine
   
   Following steps from the 
[doc](https://superset.apache.org/docs/installation/installing-superset-from-scratch)
   
   
   Using 
   - python3, 
   - virtualenv
   Error trace
   
   ```
   uperset db upgrade
   /usr/lib/python3/dist-packages/requests/__init__.py:89: 
RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a 
supported version!
     warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
   Traceback (most recent call last):
     File "/usr/local/bin/superset", line 5, in <module>
       from superset.cli.main import superset
     File "/usr/local/lib/python3.8/dist-packages/superset/__init__.py", line 
18, in <module>
       from flask import current_app, Flask
     File "/usr/local/lib/python3.8/dist-packages/flask/__init__.py", line 14, 
in <module>
       from jinja2 import escape
     File "/usr/local/lib/python3.8/dist-packages/jinja2/__init__.py", line 12, 
in <module>
       from .environment import Environment
     File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 
25, in <module>
       from .defaults import BLOCK_END_STRING
     File "/usr/local/lib/python3.8/dist-packages/jinja2/defaults.py", line 3, 
in <module>
       from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
     File "/usr/local/lib/python3.8/dist-packages/jinja2/filters.py", line 13, 
in <module>
       from markupsafe import soft_unicode
   ImportError: cannot import name 'soft_unicode' from 'markupsafe' 
(/usr/local/lib/python3.8/dist-packages/markupsafe/__init__.py)
   
   ```
   Please let me know how do I resolve this error?
   
   
   
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to