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: No module named sanitizer #304

Open
govindsmenokee opened this issue Aug 4, 2016 · 1 comment
Open

ImportError: No module named sanitizer #304

govindsmenokee opened this issue Aug 4, 2016 · 1 comment

Comments

@govindsmenokee
Copy link

html5lib dependency should be html5lib>=0.999,<0.99999999 because bleach is dependent on the sanitizer module which was removed in the latest html5lib release.
A temporary fix would be -

pip uninstall html5lib
pip uninstall bleach
pip install bleach
@ryneeverett
Copy link
Collaborator

The dependency is correctly pinned in bleach so we shouldn't have to do this. An easier temporary fix is pip install -U bleach. I think there must be a bug in pip's dependency resolution because this has been a pain for me as well.

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