I'm trying to run my Python scripts via Cygwin from Windows. I'm getting the following error when running Python. The problem is when running Python via Cygwin it then runs the command via the Windows instance of Python i.e. C:\Python32\python.exe
which then can't find the py
file I'm linking to using the Cygwin way.
$ /cygdrive/c/Python32/python /cygdrive/c/elf/GIT/src/sfgenctl.py
C:\Python32\python.exe: can't open file '/cygdrive/c/elf/GIT/src/sfgenctl.py':
[Errno 2] No such file or directory
Is there a way around this?
Thanks