syncabook icon indicating copy to clipboard operation
syncabook copied to clipboard

cannot import name 'soft_unicode' from 'markupsafe'

Open cdarwin7 opened this issue 3 years ago • 1 comments

I'm getting this error:

from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.9/site-packages/markupsafe/init.py)

after I run docker run -v $(pwd):/books/mybook syncabook sync /books/mybook

it seems something to do with markupsafe 2.01 vs 2.10 from what I can find on Google. The fix to run pip install markupsafe==2.0.1 didn't work for me

any ideas?

cdarwin7 avatar Jun 13 '22 08:06 cdarwin7

need to pull Jinja2-3.0.3 instead of 2.11.3

ghost avatar Jun 13 '22 08:06 ghost