Trouble setting up SITL on linux

Good Day All!

I’ve been trying to setup SITL for linux per the following link.

I have ran into trouble at the step requiring me to run “ --console --map --aircraft test” runs by being called in the terminal and JSBSim works also, but I get the following error:

Traceback (most recent call last):
File “/home/$USER/workspace/ardupilot/Tools/autotest/”, line 846, in
start_mavproxy(cmd_opts, frame_infos)
File “/home/$USER/workspace/ardupilot/Tools/autotest/”, line 664, in start_mavproxy
run_cmd_blocking(“Run MavProxy”, cmd, env=env)
File “/home/$USER/workspace/ardupilot/Tools/autotest/”, line 510, 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

Another terminal window opens which displays this: (which tells me most of it must be working):
Started model jsbsim at -35.363261,149.165230,584,353 at speed 1.0
Starting sketch 'ArduPlane’
Starting SITL input
bind port 5760 for 0
Serial port 0 on TCP port 5760
Waiting for connection …

This is where it hangs… Any help would be appreciated. I really want to run ardupilot on my own model aircraft once I understand ArduPilot better.
Thanks for any help!


It looks like it’s failing to launch mavproxy. Make sure that you have installed mavproxy on your system via the pip command in the tutorial.

Thank you for your helpful input.

I got it working by using pip2 instead of pip to install mavlink & mavproxy.

Now I can end the night flying into the sunset. Thanks alot!!!