error on linux

I’m working on Setting up SITL on Linux.When I started SITL simulator: -w

Things went wrong:

SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at -35.363261,149.165230,584,353 (CMAC)
SIM_VEHICLE: Configure waf
SIM_VEHICLE: “/home/sophie/ardupilot/modules/waf/waf-light” “configure” “–board” "sitl"
Traceback (most recent call last):
File “/home/sophie/ardupilot/Tools/autotest/”, line 980, in
do_build(vehicle_dir, cmd_opts, frame_infos)
File “/home/sophie/ardupilot/Tools/autotest/”, line 566, in do_build
return do_build_waf(opts, frame_options)
File “/home/sophie/ardupilot/Tools/autotest/”, line 532, in do_build_waf
run_cmd_blocking(“Configure waf”, cmd_configure, check=True)
File “/home/sophie/ardupilot/Tools/autotest/”, line 645, in run_cmd_blocking
p = subprocess.Popen(cmd, **kw)
File “/usr/lib/python2.7/”, line 711, in init
errread, errwrite)
File “/usr/lib/python2.7/”, line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
SIM_VEHICLE: Killing tasks

Anybody help me?Thanks!

On ArduPilot top level directory do git submodule update --init modules/waf and then try again running sim_vehicle.

Hi @leesf1996,

Have you been able to solve this problem? I’m having the same issue…


Hello @leesf1996,

Did you try to run it as a super user? (sudo?)

Let me know, if this helps.