r4victor / syncabook

📖🎧 A tool for creating ebooks with synchronized text and audio (EPUB3 with Media Overlays)
MIT License
264 stars 27 forks source link

cannot import name 'soft_unicode' from 'markupsafe' #12

Closed ghost closed 1 year ago

ghost commented 2 years ago

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?

ghost commented 2 years ago

need to pull Jinja2-3.0.3 instead of 2.11.3