plugins-quickstart icon indicating copy to clipboard operation
plugins-quickstart copied to clipboard

ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Open gdhananjay opened this issue 2 years ago • 2 comments

ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Above error in tryng out example. Solution is mentioned below.

https://stackoverflow.com/questions/72191560/importerror-cannot-import-name-soft-unicode-from-markupsafe

gdhananjay avatar May 16 '23 05:05 gdhananjay

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.

dacarson avatar Jun 20 '23 06:06 dacarson

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.

smusa avatar Jun 20 '23 17:06 smusa