ImportError: cannot import name 'soft_unicode' from 'markupsafe'
gdhananjay opened this issue · comments
Dhananjay commented
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
Above error in tryng out example. Solution is mentioned below.
David Carson commented
The solution in the link above does not work for me. When I follow the solution in the link above, and install markupsafe 2.0.1, I get another error:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
werkzeug 2.2.0 requires MarkupSafe>=2.1.1, but you have markupsafe 2.0.1 which is incompatible.
When I try earlier versions of wekzeug, I get other errors.
Sanjay Mallik commented
I am getting similar error from scratch. if i install MarkUpSafe 2.1.3 then cookiecutter 1.7.2 fails to install and if i downgrade markupsafe to 1.1.1 then werkzeug 2.3.6 fails to install.