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 pip3 install
:
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
I guess you’ve followed the instructions here for installing using cygwin?
I’ve recently built a computer and followed the instructions for WSL, cygwin and eclipse (wiki landing page is here) and got it all working. I know the WSL instructions are working well.