Message when starting EDR services: UserWarning: Module simplejson was already imported
book
Article ID: 289483
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
Messages similar to the following reported when starting EDR services:
/usr/lib/python2.6/site-packages/kombu/utils/__init__.py:410: UserWarning: Module simplejson was already imported from /usr/lib64/python2.6/site-packages/simplejson/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
Environment
EDR Server: All Versions
Cause
Python library is installed using two different installation methods (e.g., OS package and easy_install)
Resolution
Uninstall 'simplejson' via PIP:
$ pip uninstall simplejson
Restart EDR services to validate the issue is resolved
Additional Information
Reference following document for additional information regarding the 'pip uninstall' command
Example: Installing the EDR API via PIP (pip install cbapi) will install 'simplejson' via PIP as a dependency. These messages are informational and will not interfere with the normal functioning of the EDR server.