No way to get running

Hi everybody ¡,

I’ve been looking for a solution for several days, but I’m not able to fix it.

I’ve install all stuff related to ArduPilot, following, step-by-step this two guides from a clean installation of ubuntu 14.04:

1- SITL setup on Windows in a VM (not recommended) — Dev documentation
2- Setting up SITL on Linux — Dev documentation

Today I’ve install again from scratch, so I should be up-to-date.
The point is, when I try to run whith arducopter:

./Tools/autotest/ build.ArduCopter fly.ArduCopter --map

I’m getting this error:

Traceback (most recent call last):
File “./Tools/autotest/”, line 497, in run_tests
if not run_step(step):
File “./Tools/autotest/”, line 304, in run_step
return arducopter.fly_ArduCopter(binary, viewerip=opts.viewerip,, valgrind=opts.valgrind, gdb=opts.gdb)
File “/home/diego/ardupilot/Tools/autotest/”, line 969, in fly_ArduCopter
sitl = util.start_SITL(binary, wipe=True, model=frame, home=home, speedup=speedup_default)
File “/home/diego/ardupilot/Tools/autotest/pysim/”, line 219, in start_SITL
child = pexpect.spawn(first, rest, logfile=sys.stdout, encoding=ENCODING, timeout=5)
TypeError: init() got an unexpected keyword argument ‘encoding’
check step: fly.ArduCopter

I’d be really gratefull if anyone can help me.

1 Like

I’ve fixed it installing pexpect via pip. Thanks.