Isaac Sim Version
4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):
Operating System
Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):
I am currently following the official Isaac Sim ROS 2 installation guide (ROS and ROS 2 Installation — Isaac Sim Documentation) and I am facing an issue during the build process of my ROS 2 workspace.
Here is the error I’m encountering:
(x) kaga@kaga-MS-7D90:~/IsaacSim-ros_workspaces/humble_ws$ colcon build
Starting >>> carter_navigation
Starting >>> cmdvel_to_ackermann
Starting >>> custom_message
Starting >>> isaac_ros2_messages
Starting >>> isaac_ros_navigation_goal
Starting >>> isaac_tutorials
Starting >>> isaacsim
Starting >>> iw_hub_navigation
Finished <<< cmdvel_to_ackermann [0.19s]
Finished <<< carter_navigation [0.20s]
Finished <<< isaac_tutorials [0.20s]
Finished <<< iw_hub_navigation [0.21s]
Finished <<< isaacsim [0.23s]
Finished <<< custom_message [0.26s]
Finished <<< isaac_ros2_messages [0.27s]
--- stderr: isaac_ros_navigation_goal
Traceback (most recent call last):
File "/home/kaga/IsaacSim-ros_workspaces/humble_ws/src/navigation/isaac_ros_navigation_goal/setup.py", line 7, in <module>
setup(
File "/usr/local/lib/python3.10/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 991, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 315, in run
self.find_sources()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 323, in find_sources
mm.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 549, in run
self.prune_file_list()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/sdist.py", line 161, in prune_file_list
super().prune_file_list()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list
base_dir = self.distribution.get_fullname()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py", line 267, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
---
Failed <<< isaac_ros_navigation_goal [0.55s, exited with code 1]
Summary: 7 packages finished [0.65s]
1 package failed: isaac_ros_navigation_goal
1 package had stderr output: isaac_ros_navigation_goal
The error points to an issue with setuptools
during the build of the isaac_ros_navigation_goal
package, particularly a TypeError
related to the canonicalize_version()
function in setuptools
.
What I’ve tried so far:
- upgrading
setuptool
- I uninstalled and reinstalled
setuptools
. - I cleaned the workspace .