Robotics StackExchange | Archived questions

ModuleNotFoundError: No module named 'rosbag2_py'

I tried sourcing my foxy workspace and importing rosbag2_py, but I get this error

Source

import rosbag2_py

Error

ModuleNotFoundError: No module named 'rosbag2_py'

Asked by lexi on 2022-12-20 14:05:44 UTC

Comments

Answers

You can see here that there is no rosbag2_py for Foxy (at least in the binary form, I think? There is in its repository a foxy branch, you can try to build it from source).

What do you try to do with rosbag2, maybe we can help you with the general problem?

Asked by ljaniec on 2022-12-24 19:51:20 UTC

Comments