I am setting up my SITL for uni research project on my Windows PC, so far I’ve followed the instructions from the ArduPilot website, until I got stuck on with this error when trying to put this command in Cygwin64:
cd ~/ardupilot/ArduPlane
…/Tools/autotest/sim_vehicle.py --map --console
The Cygwin64 answer:
Peter@DESKTOP-5SD68Q7 ~/ardupilot/ArduPlane
$ …/Tools/autotest/sim_vehicle.py --map --console
Traceback (most recent call last):
File “…/Tools/autotest/sim_vehicle.py”, line 30, in
from pymavlink import mavextra
ModuleNotFoundError: No module named ‘pymavlink’
I’ve already tried updating MAVLink but it didn’t do any change. I also noticed that few people had the same problem as me but I didn’t find proper solution or answer for this problem since I am an ArduPilot newbie.
So could someone please tell me what to do? I’m clueless and I need it solved as soon as possible. Thanks everyone for help
so I re-installed & still got the error, the sim_vehicle.py is in the right folder, pymavlink is also there. I even consulted it with my firend who knows working in python and still we didn’t find where’s the problem. Please help.