I encountered a file not found error while trying to run sim_vehicle.py using Cygwin terminal. However, I have checked that pymavlink is already installed… why is this error occuring??
python2 vs python3 maybee?
I tried typing
pip2 install pymavlink and
pip3 install pymavlink.
pip2 install is not recognized by Cygwin as a valid command; and a crazy error occurred when I entered
It just keeps refreshing the version number of pymavlink all the way from 2.4.15 to 2.4.4 …I don’t know what’s going on. I have checked that Cygwin is indeed in my system environmental variable. I thought moving the
arducopter soure file to a disk other than disk C will fix the issue, but it’s not working either.
try these commands :
- python -m pip install pymavlink
- cd Tools/autotest
- python sim_vehicle.py --map --console