Open dapiaoGe opened 8 months ago
You can install python3-catkin-pkg
to get around this.
The preferred option is to install ros-dev-tools
, per these instructions: https://docs.ros.org/en/humble/Installation/Alternatives/Ubuntu-Development-Setup.html
(base) pu@pu-B760M-GAMING-WIFI:~/tello_ros_ws$ colcon build Starting >>> tello_msgs Starting >>> ros2_shared Starting >>> tello_description --- stderr: tello_description
from catkin_pkg.package import parse_package_string
ModuleNotFoundError: No module named 'catkin_pkg'
CMake Error at /opt/ros/foxy/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:94 (message):
execute_process(/home/pu/anaconda3/bin/python3
/opt/ros/foxy/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
/home/pu/tello_ros_ws/src/tello_ros/tello_description/package.xml
/home/pu/tello_ros_ws/build/tello_description/ament_cmake_core/package.cmake)
returned error code 1
Call Stack (most recent call first):
/opt/ros/foxy/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:49 (_ament_package_xml)
/opt/ros/foxy/share/ament_cmake_core/cmake/core/ament_package.cmake:63 (ament_package_xml)
CMakeLists.txt:50 (ament_package)
Traceback (most recent call last): File "/opt/ros/foxy/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 21, in
Failed <<< tello_description [0.26s, exited with code 1] Aborted <<< tello_msgs [0.46s]
Aborted <<< ros2_shared [0.47s]
Summary: 0 packages finished [1.40s] 1 package failed: tello_description 2 packages aborted: ros2_shared tello_msgs 3 packages had stderr output: ros2_shared tello_description tello_msgs 2 packages not processed