Just Published! Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Carbon Black Cloud: Setup of the CBCSyslog Fails With ImportError

Carbon Black Cloud: Setup of the CBCSyslog Fails With ImportError

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


Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎06-15-2022
Views:
64
Contributors