html5中fond,html5lib.sanitizer not found

Hi, I'm struggling a lot because of the html5lib module. It seems that the version that I have installed does not have *.sanitizer class. I have followed 4 times all the install instructions and I still get this. It could be that the taiga-back to be outdated considering that the latest release of html5lib was on July 16 2016 https://pypi.python.org/pypi/html5lib ?

see the error trace bellow:

Traceback (most recent call last):

File "manage.py", line 29, in

execute_from_command_line(sys.argv)

File "/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/init.py", line 353, in execute_from_command_line

utility.execute()

File "/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/init.py", line 327, in execute

django.setup()

File "/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/init.py", line 18, in setup

apps.populate(settings.INSTALLED_APPS)

File "/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/apps/registry.py", line 108, in populate

app_config.import_models(all_models)

File "/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/apps/config.py", line 202, in import_models

self.models_module = import_module(models_module_name)

File "/home/taiga/.virtualenvs/taiga/lib/python3.4/importlib/init.py", line 109, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

File "", line 2254, in _gcd_import

File "", line 2237, in _find_and_load

File "", line 2226, in _find_and_load_unlocked

File "", line 1200, in _load_unlocked

File "", line 1129, in _exec

File "", line 1471, in exec_module

File "", line 321, in _call_with_frames_removed

File "/home/taiga/taiga-back/taiga/projects/models.py", line 47, in

from taiga.projects.notifications.services import (

File "/home/taiga/taiga-back/taiga/projects/notifications/services.py", line 36, in

from taiga.projects.history.services import (make_key_from_model_object,

File "/home/taiga/taiga-back/taiga/projects/history/services.py", line 47, in

from taiga.mdrender.service import render as mdrender

File "/home/taiga/taiga-back/taiga/mdrender/service.py", line 21, in

import bleach

File "/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/bleach/init.py", line 8, in

from html5lib.sanitizer import HTMLSanitizer

ImportError: No module named 'html5lib.sanitizer'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值