Skip to content

[Bug Report] No module named 'rclpy._rclpy_pybind11' #3129

@agrotrushant

Description

@agrotrushant

Describe the bug

I am using the container workflow in IsaacLab 2.2 (main branch) and am using ros2 profile but seems like rcpy with pybind11 has some issue.

Steps to reproduce

Clone the IsaacLab repo

git clone git@github.com:isaac-sim/IsaacLab.git
cd IsaacLab

Build ros2 profile container

./docker/container.py start ros2

Launch IsaacSim 5.0

runapp # alias mentioned in ~/.bashrc

I am getting following error:

[29.612s] [ext: isaacsim.ros2.bridge-4.9.3] startup
[29.681s] Attempting to load system rclpy
[29.756s] Could not import system rclpy: No module named 'rclpy._rclpy_pybind11'
The C extension '/opt/ros/humble/lib/python3.10/site-packages/_rclpy_pybind11.cpython-311-x86_64-linux-gnu.so' isn't present on the system. Please refer to 'https://docs.ros.org/en/humble/Guides/Installation-Troubleshooting.html#import-failing-without-library-present-on-the-system' for possible solutions
[29.756s] Attempting to load internal rclpy for ROS Distro: humble
[29.757s] Could not import internal rclpy: No module named 'rclpy._rclpy_pybind11'
The C extension '/opt/ros/humble/lib/python3.10/site-packages/_rclpy_pybind11.cpython-311-x86_64-linux-gnu.so' isn't present on the system. Please refer to 'https://docs.ros.org/en/humble/Guides/Installation-Troubleshooting.html#import-failing-without-library-present-on-the-system' for possible solutions
[29.757s] To use the internal libraries included with the extension please set the following environment variables to use with FastDDS (default) or CycloneDDS before starting Isaac Sim:

FastDDS (default):
export ROS_DISTRO=humble
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/humble/lib

OR

CycloneDDS:
export ROS_DISTRO=humble
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/humble/lib


2025-08-08T21:02:31Z [29,727ms] [Warning] [humble.rclpy] Could not import rclpy

System Info

Describe the characteristic of your environment:

  • Commit: [e.g. 8f3b9ca]
  • Isaac Sim Version: 5.0.0
  • OS: Ubuntu 22.04
  • GPU: RTX Pro 6000 Blackwell
  • CUDA: 12.8
  • GPU Driver: 570.169

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

  • It should use built ros-base

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions