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

Open
Anups155 opened this issue May 16, 2022 · 1 comment
Open

Comments

@Anups155
Copy link

Hi,
I was trying to setup airflow in ECS using this code.Tasks doesnt run because we were facing this error
" cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/site-packages/markupsafe/init.py) | ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/site-packages/markupsafe/init.py).

Tried various solutions but didnt work. Any idea on how to fix this

Many thanks

@nicor88
Copy link
Owner

nicor88 commented May 16, 2022

the issue can be solved by installing a specific version of markup safe
markupsafe==2.0.1

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

2 participants