Running python script in cygwin

I have python installed here on windows:

 C:\Python27 

and can run a script from the command line but would rather use cygwin.

$ cd "C:\Users\cmccabe\Desktop\annovar"

cmccabe@DTV-L2231M5J /cygdrive/c/Users/cmccabe/Desktop/annovar
$ python run_batch_job.py
Traceback (most recent call last):
File "run_batch_job.py", line 16, in <module>
from suds.client import Client
ImportError: No module named suds.client

The suds client is installed here on windows:

 cd Python27\Scripts 

Thank you :).

I think this is an environment problem. cygwin has no problem running simple non-windowing applications written for windows. Python and perl both import modules, so to make thing work, you may want to go into cygwin setup and dowload the version of python you want. You code will port, you will also need to get imports into the cygwin subs-system. I have this with both python & perl. And you can execute from the DOS cmd.exe command line as well -

# shell
C:\cygwin\bin\bash testit.sh
#
C:\cygwin\bin\python testit.py

Is there a way to intall the suds.client in cygwin to run a web service?

 
from suds.client import Client
ImportError: No module named suds.client

Thank you :).

---------- Post updated at 01:02 PM ---------- Previous update was at 12:38 PM ----------

I also tried:

 'C:\Python27\python.exe' run_batch_job.py Sanger.txt Test.txt PositionConverter
-bash: C:\Python27\python.exe: command not found 

Thank you :).

  1. You need to install the required python module. Search on the internet on how to do it, you'll get lot of tutorials on the same.

  2. For your 2nd problem, you could try the cygwin style path: /cygdrive/c/Python27/python run_batch_job.py