I am also working on python+Cygwin/Windows/Linux+Condor. This is how I got it to work:
1. A bat executable is necessary.
2. Add set %PYTHONPATH%=<your python path> to the bat file before it calls python.
3. Add "environment=PYTHONPATH=<your python path> to the job submission file.
I have no idea why both 2 and 3 are needed, but if I only do one of them, the python path does not include my custom locations. It seems only one of them is necessary according to the condor docs.
Try to print the path within the bat script with "echo %PATH%" to see why the command you're calling is not recognized. You might need to call its full path.
Hope this helps - and that someone knows the answer to my question as well!
On 9/26/2012 6:31 AM, Mostafa Bakhtvar wrote:
-- A person is just about as big as the things that make him angry.