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' #15

Open
rfarid opened this issue May 6, 2022 · 0 comments
Open

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

rfarid opened this issue May 6, 2022 · 0 comments

Comments

@rfarid
Copy link

rfarid commented May 6, 2022

when running

pypi-private -v publish <package name> <package version>

the below error appears:

from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe'

It other words, markupsafe version 2.1.1 seems incompatible.

Workaround:

python -m pip uninstall markupsafe
python -m pip install markupsafe==2.0.1

Conclusion: it seems the version defined for markupsafe needs to be set properly.

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

1 participant