Build problem in cygwin: /usr/bin/env: ‘python’

Short description of problem:
Userpc@User ~/ardupilot
$ ./waf copter
/usr/bin/env: ‘python’: No such file or directory

Detailed description:
I tried done all instruction from here:

All looked OK before ‘Build with Waf’ step: when I try to build it give me:
/usr/bin/env: ‘python’: No such file or directory
But in my C:\cygwin64\bin I have python2.7.exe.
What the problem ?

Cygwin has changed how Python is installed.

You need to symlink python2.7.exe. to python.exe. You can do this by running this command in Cygwin:
ln -s /usr/bin/python2.7 /usr/bin/python

1 Like

Wow! It works! Thank you!!!