I hope this saves you a couple hours of headaches that I experienced recently.
If you get the dreaded error:
from html5lib import sanitizer, serializer, treebuilders, treewalkers
ImportError: cannot import name sanitizer
Never fear. The fix is easy once you know how. Add this exact line to your requirements file and redeploy:
This will fix it.