Closed gdlt88 closed 8 years ago
We don't test on centos so not sure specifically but certainly doesn't seem like bleach is installing properly.
I resolve the issue. Like you said, it was a problem with bleach. I updated using pip install -- upgrade bleach and now it works.
Thanks
Brief Description:
Hi, I'm trying to install OpenBazaar in CentOS. Command pip install -r requirements.txt ran well. However, I get an error when running python openbazaard.py start. The error displayed is:
Traceback (most recent call last): File "openbazaard.py", line 11, in
from api.ws import WSFactory, AuthenticatedWebSocketProtocol, AuthenticatedWebSocketFactory
File "/home/publicuser/OpenBazaar-Server/api/ws.py", line 15, in
from api.utils import smart_unicode, sanitize_html
File "/home/publicuser/OpenBazaar-Server/api/utils.py", line 1, in
import bleach
File "/usr/lib/python2.7/site-packages/bleach/init.py", line 8, in
from html5lib.sanitizer import HTMLSanitizer
ImportError: No module named sanitizer
Please, if anyone can help me with this.
Thanks
Operating System (OS and version): CentOS 7 OpenBazaar version: Latest version