00
In productionProbeginnerPackaging
The build cannot find rclpy
Declare the missing dependency so the package resolves.
Pairs with Packages and workspaces in Learn ROS 2 from the basics. Read the concept first, then diagnose it here.
Unlock this lab with ProOperator report
rosdep and the build fail because `rclpy` is not declared.
Ubuntu 24.04, ROS 2 Jazzy, rclpy, a single-package browser workspace
System boundary
Trace only the relevant path.
- 01source imports rclpy→
- 02package.xml depends→
- 03build resolvesOUT
02
How this lab works
You diagnose it. No command list.
Open the repair workspace and gather your own evidence in a real terminal. No diagnostic commands are handed to you - finding the fault is the exercise. Stuck? Progressive hints unlock inside the workspace.
Verification
Pass more than the visible symptom.
- rclpy is declared
- Existing dependencies are kept
- Hidden regression behavior
- Root cause explanation