Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gdhananjay opened this issue May 16, 2023 · 2 comments
Open

Comments

@gdhananjay
Copy link

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

@dacarson
Copy link

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.

@smusa
Copy link

smusa commented Jun 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants