ROS 2 xacro executable will not run

asked 2020-06-10 11:28:33 -0500

max_a gravatar image

updated 2020-06-10 11:33:48 -0500

I downloaded ROS 2 dashing onto my windows 10 device through this link: and then followed this tutorial to set up the xacro package since it was not included in the ROS 2 installation:

However, now when I try to run "ros2 run xacro xacro --xacro-ns custom.xacro > custom.urdf" in the dev_ws that I cloned the xacro package to, I get the following:

Traceback (most recent call last):

File "C:\dev\ros2-dashing\Scripts\", line 11, in <module> load_entry_point('ros2cli==0.7.10', 'console_scripts', 'ros2')()

File "C:\dev\ros2-dashing\Lib\site-packages\ros2cli\", line 69, in main rc = extension.main(parser=parser, args=args)

File "C:\dev\ros2-dashing\Lib\site-packages\ros2run\command\", line 72, in main return run_executable(path=path, argv=args.argv, prefix=prefix)

File "C:\dev\ros2-dashing\Lib\site-packages\ros2run\", line 61, in run_executable process = subprocess.Popen(cmd)

File "c:\python37\lib\", line 800, in __init__ restore_signals, start_new_session)

File "c:\python37\lib\", line 1207, in _execute_child startupinfo)

OSError: [WinError 193] %1 is not a valid Win32 application

Would anyone be able to help me with this?

edit retag flag offensive close merge delete