Thank you very much for checking with the internal team. Yes I believe I tried all possible combinations, but I’m probably missing something.
I downloaded the latest Isaac Sim workspace and rebuilt the python 3.11 workspace using the included script:
cd IsaacSim-ros_workspaces
./build_ros.sh -d jazzy -v 24.04
There are no errors, at the end it says “successfully copied…”
Then as it says in the documentation I start Isaac Sim in a new terminal. Here’s the bare minimum:
cd IsaacSim-ros_workspaces
source build_ws/jazzy/jazzy_ws/install/local_setup.bash
export isaac_sim_package_path=$HOME/isaacsim_5.0
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
$isaac_sim_package_path/isaac-sim.sh
Is that correct ?
This starts Isaac Sim, says “rclpy loaded”, then “app ready”, and I can load any of the ROS2 navigation examples, click on play, and it looks visually ok.
Then to try to run ROS2 Jazzy from the Python 3.11 workspace I use the following steps in a new terminal:
cd IsaacSim-ros_workspaces
source build_ws/jazzy/jazzy_ws/install/local_setup.bash
source build_ws/jazzy/isaac_sim_ros_ws/install/local_setup.bash
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
ros2 launch carter_navigation carter_navigation.launch.py
But this doesn’t launch at all, with the error message:
Traceback (most recent call last):
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/bin/ros2”, line 33, in
sys.exit(load_entry_point(‘ros2cli==0.32.6’, ‘console_scripts’, ‘ros2’)())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/bin/ros2”, line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/importlib/metadata/init.py”, line 205, in load
module = import_module(match.group(‘module’))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/importlib/init.py”, line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1387, in _gcd_import
File “”, line 1360, in _find_and_load
File “”, line 1331, in _find_and_load_unlocked
File “”, line 935, in _load_unlocked
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/lib/python3.11/site-packages/ros2cli/cli.py”, line 22, in
from rclpy.executors import ExternalShutdownException
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/lib/python3.11/site-packages/rclpy/init.py”, line 49, in
from rclpy.signals import install_signal_handlers
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/lib/python3.11/site-packages/rclpy/signals.py”, line 15, in
from rclpy.exceptions import InvalidHandle
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/lib/python3.11/site-packages/rclpy/exceptions.py”, line 16, in
from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/lib/python3.11/site-packages/rclpy/impl/implementation_singleton.py”, line 32, in
rclpy_implementation = import_c_library(‘._rclpy_pybind11’, package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/lib/python3.11/site-packages/rpyutils/import_c_library.py”, line 39, in import_c_library
return importlib.import_module(name, package=package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/importlib/init.py”, line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named ‘rclpy._rclpy_pybind11’
The C extension ‘/home/user/IsaacSim-ros_workspaces/build_ws/jazzy/jazzy_ws/install/lib/python3.11/site-packages/_rclpy_pybind11.cpython-312-x86_64-linux-gnu.so’ isn’t present on the system.
That’s why I tried the other approaches I mentioned
Could you tell me more specifically what I should be doing differently ?
Or if you’re able to run any of the ROS2 navigation examples with ROS2 Jazzy, could you share the exact commands you used to start Isaac Sim 5.0 or 5.1 in one terminal, and the exact commands you used in the other terminal to launch ROS 2 ?
I know the error message looks like there is Python 3.11 and 3.12 mixed but I didn’t do anything that should cause that. I just followed the documentation exactly. But maybe I did something wrong, so your insight or example would be appreciated.
Thank you