Building ROS 2 Workspaces with Python3.10 Error

I encountered an issue while following the tutorial for Building ROS2 Workspaces with Python 3.10 on Ubuntu 20.04 (Foxy).
The tutorial link is: Tutorial Link
Just in case:
https://docs.omniverse.nvidia.com/isaacsim/latest/installation/install_ros.html#isaac-sim-app-install-ros

I encountered an issue while executing the following commands:

cd IsaacSim-ros_workspaces
./build_foxy.sh

Error:

=> ERROR [27/27] RUN /bin/bash -c "source foxy_ws/install/setup.sh && cd 0.5s

[27/27] RUN /bin/bash -c “source foxy_ws/install/setup.sh && cd build_ws && colcon build -->packages-select custom_message --merge-install”:
0.457 [0.334s] ERROR:colcon:colcon build: The install directory ‘install’ was created with the >layout ‘isolated’. Please remove the install directory, pick a different one or remove the ‘–>merge-install’ option.


ubuntu_20_foxy_minimal.dockerfile:103

101 |
102 | # Build the added workspace
103 | >>> RUN /bin/bash -c “source ${ROS_ROOT}/install/setup.sh && cd build_ws && colcon >build --packages-select custom_message --merge-install”

ERROR: failed to solve: process “/bin/sh -c /bin/bash -c "source ${ROS_ROOT}/install/setup.sh >&& cd build_ws && colcon build --packages-select custom_message --merge-install"” did not >complete successfully: exit code: 1

Hi,

I am moving your topic to the Isaac Sim category for better visibility.

Raffaello

Hi @sweetyleah0 - Please refer to this document and ROS2 section.
https://docs.omniverse.nvidia.com/isaacsim/latest/installation/install_ros.html#running-native-ros

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