Python error

Hi there, I fixed it.

I got the same error and figured that it was because I was running an ARM version of Ubuntu 20.04 on parallels on my M1 mac.

You have to build the binaries for the ARM version, and it’s a simple process.

Run the following code in your terminal:

cd ~/courseRoot/apm2/ardupilot/
make -j4 sitl

After running the above, the build process should finish and the build directory should be listed. Mine was at:

/home/parallels/courseRoot/apm2/ardupilot/build/sitl/bin/

cd into the directory and copy the new build (named arducopter) to replace the old build which is in @northdacoder case (the apm file), located at,

/home/johnny/.dronekit/sitl/copter-3.3/apm

Don’t forget to rename your new build to ‘apm’.

Now execute and watch your sitl come up via dronekit.

1 Like