Using Cygwin Python interpreter invoked from shebang line $ cat /tmp/script1 #!/usr/bin/python
print("hello"); $ /tmp/script1 hello $ works as expected. Conda Python interpreter invoked from shebang line $ cat /tmp/script2 #!/usr/local/anaconda3/python print("hello"); $ /tmp/script2 C:\cygwin64\usr\local\anaconda3\python.exe: can't open file 'C:\\tmp\\script2': [Errno 2] No such file or directory $ fails to get the right path of the input file to execute. The correct path that should been passed to the Conda interpreter would have been c:\cygwin64\tmp\script2 Version of cygwin being used base-cygwin 3.8-2 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple