anomaly-detection-code-pattern icon indicating copy to clipboard operation
anomaly-detection-code-pattern copied to clipboard

ImportError: cannot import name 'soft_unicode' from 'markupsafe' issue after running requirements.txt

Open ethansudman opened this issue 2 years ago • 1 comments

After running the following command: pip install -r requirements.txt

Jupyter started crashing for me with the error message ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Apparently, soft_unicode was removed from markupsafe in the latest version, so a workaround for me was to downgrade my version to 2.0.1: https://stackoverflow.com/questions/72191560/importerror-cannot-import-name-soft-unicode-from-markupsafe

ethansudman avatar Aug 16 '22 15:08 ethansudman

@ethansudman @ShuxinLin just updated the req.txt. Issue should be addressed now.

DhavalRepo18 avatar Aug 19 '22 04:08 DhavalRepo18