Skip to content
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

colcon build come errors #80

Open
Pu-Zhengpeng opened this issue Dec 26, 2023 · 1 comment
Open

colcon build come errors #80

Pu-Zhengpeng opened this issue Dec 26, 2023 · 1 comment

Comments

@Pu-Zhengpeng
Copy link

(base) pu@pu-B760M-GAMING-WIFI:~/tello_ros_ws$ colcon build
Starting >>> tello_msgs
Starting >>> ros2_shared
Starting >>> tello_description
--- stderr: tello_description
Traceback (most recent call last):
File "/opt/ros/foxy/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 21, in
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)


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

@clydemcqueen
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants