-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load Python extension for LZ4 support #2
Comments
Can you try installing lz4?
|
It's installed. lz4==3.1.0 |
I don't have a windows machine currently, so it will be hard to debug. In Ubuntu "Failed to load Python extension for LZ4 support. LZ4 compression will not be available." is a warning and yet it runs. You can provide a minimum viable code snippet to reproduce your issue and that may help. |
@tyagi86 I have a suggestion on reading bag files. You can use Google Colab if you don't have access to Linux. See the example: https://colab.research.google.com/drive/1ZNeVcYmvd6WHgXvdfi-MD6pdZAjWTyqZ?usp=sharing |
Hello, if someone have a solution on windows I would be also interested ! I have multiples files of ~2/3 GB to read so google colab does not seem to be a good solution as I would have to upload them ... |
@tyagi86 @julienguegan
and I was able to see the plot I was expecting. Note that I still get |
Also, @tyagi86 @julienguegan
and the warning/error message will go away. |
One final thing. If your bag file uses lz4 compression, then in Windows, bagpy will not be able to decode that, as With that, I am closing this issue. |
try this: |
Importing "bagpy" throws the following message:
"Failed to load Python extension for LZ4 support. LZ4 compression will not be available."
This results in the following error when trying to read messages/topics from rosbag file:
"rosbag.bag.ROSBagException: unsupported compression type: lz4"
System OS: Windows 10
Python Version: 3.8.3
The text was updated successfully, but these errors were encountered: