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

Closed
benoit-cty opened this issue Mar 4, 2022 · 1 comment
Closed

Comments

@benoit-cty
Copy link
Contributor

benoit-cty commented Mar 4, 2022

Hello,

After a fresh install of NBDev 1.2.2, the command nbdev_build_lib fail with error:

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

It seems that NBDev use an old version of Jinja. Please see pallets/markupsafe#284

Forcing markupsafe = "2.0.1" solve the problem.

@benoit-cty
Copy link
Contributor Author

Well, sorry, it is not related to NBDev, it is NBConvert that call Jinja.

@jph00 jph00 closed this as completed May 29, 2022
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