OpenBazaar / OpenBazaar-Server

(Deprecated) OpenBazaar 1.0 Server daemon for communication with OpenBazaar-Client
MIT License
608 stars 173 forks source link

Issue Installing OpenBazaar-Server in CentOS #470

Closed gdlt88 closed 8 years ago

gdlt88 commented 8 years ago

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

hoffmabc commented 8 years ago

We don't test on centos so not sure specifically but certainly doesn't seem like bleach is installing properly.

gdlt88 commented 8 years ago

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