Open Vefine596 opened 2 years ago
Hi,
3 days ago, markupsafe publish a new release (https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0) that adds a breaking change: Remove soft_unicode, which was previously deprecated. Use soft_str instead.
Remove soft_unicode, which was previously deprecated. Use soft_str instead.
Jinja2==2.11.1 (set in setup.py) depends on MarkupSafe>=0.23 , so it will install new breaking version of markupsafe on a fresh install of emu-docker, and when we run emu-docker : ImportError: cannot import name 'soft_unicode' from 'markupsafe'
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
Solutions (both are working) :
Thank you !
I have this same issue always , solved it by executing:
python -m pip install markupsafe==2.0.1
Hi,
3 days ago, markupsafe publish a new release (https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0) that adds a breaking change:
Remove soft_unicode, which was previously deprecated. Use soft_str instead.
Jinja2==2.11.1 (set in setup.py) depends on MarkupSafe>=0.23 , so it will install new breaking version of markupsafe on a fresh install of emu-docker, and when we run emu-docker :
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
Solutions (both are working) :
Thank you !