I’m attempting to install ROS 2 on MacOS 14.4.1 and encountered an issue during the build process of launch_testing_ament_cmake. The error message indicates a failure to find PythonExtra_LIBRARIES. Here are the details of my command and error output:
Command:
colcon build –symlink-install –packages-skip-by-dep python_qt_binding –cmake-args=” –log-level=STATUS” –cmake-clean-cache –packages-select launch_testing_ament_cmake
Error:
— stderr: launch_testing_ament_cmake
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find PythonExtra (missing: PythonExtra_LIBRARIES)
Call Stack (most recent call first):
/Applications/CMake.app/Contents/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/Users/usr/Desktop/Demo/ros2_iron/install/python_cmake_module/share/python_cmake_module/cmake/Modules/FindPythonExtra.cmake:224 (find_package_handle_standard_args)
CMakeLists.txt:29 (find_package)
Environment:
-Python version: 3.10.14
-CMake version: 3.16.4
Any insights or solutions would be greatly appreciated. Thanks!
user2250956 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.