pythonroslz4

Failed to load Python extension for LZ4 support. LZ4 compression will not be available


I am new to ROS, I just opened a terminal and typed roscore and another terminal and typed rostopic node and I got this error that says

Failed to load Python extension for LZ4 support. LZ4 compression will not be available.

I searched and went to https://pypi.org/project/lz4/#files and installed lz4 using pip install lz4 and after installation the same error exists, what should I do?

I installed ros on ubuntu 16.04 sudo apt-get install ros-kinetic-desktop-full

Expected output: /rosout /rosout_agg

Actual Output: Failed to load Python extension for LZ4 support. LZ4 compression will not be available. /rosout /rosout_agg


Solution

  • You can get the required roslz4 package (and rosbag itself, too) from the separate ROS PyPI:

    pip install roslz4 --extra-index-url https://rospypi.github.io/simple/