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
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/
On macOS you could use Homebrew to install the lz4
library, and then use Martin Valgur's solution to install the roslz4
Python package, but you will need some extra environment variables:
CFLAGS="-I$(brew --prefix lz4)/include" \
LDFLAGS="-L$(brew --prefix lz4)/lib" \
pip install roslz4 --extra-index-url https://rospypi.github.io/simple/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With