What happens when you build a Python ROS2 package?

Hi there,

What does actually happen when we build a Python ROS2-package? In my understanding when we build a C++ package, the C++ code will be ‘compiled’ into machine code which can be more efficiently run by a machine. This makes sense to me, but as Python is an interpreted language → why do we need to build it? Is it compiled in any way?

Thank you in advance for clarifying, Richard

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.