Environment
- Carbon Black Cloud: All Version
- Python: 3.x
Symptoms
Setup of the Linux CBC Syslog server fails with the error
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/dist-packages/markupsafe/__init__.py)
Cause
Newer versions of markupsafe don't contain the soft_unicode module
Resolution
Install the older version of markupsafe (on Ubuntu) with the following command
sudo pip3 install markupsafe==2.0.1
Related Content