Project

General

Profile

cdo py installation problem

Added by Beate K about 11 years ago

I've installed cdo 1.2.1 for python via command line on Windows 7 32 bit system. When setting cdo = Cdo() in my python script I'm getting an error in "subprocess.py" line 842, "System can't find file.". Might it be a problem, that I'm still using Python 2.6 (the version ArcGIS 10.0 works with)?
Has anybody a solution for this problem?

Thanks in advance,
Beate


Replies (2)

RE: cdo py installation problem - Added by Ralf Mueller about 11 years ago

Hi!
Some info would be helpful:

  • To which location did you install cdo?
  • Does the cdo binary work from the cmd prompt? Whats the results of
    cdo -V
  • Have you tried to set the path to CDO manually with the setCdo method (expample)
  • Could you show the python error message?

regards
ralf

RE: cdo py installation problem - Added by Beate K about 11 years ago

Hi Ralf,

thanks for your quick response! I'm a bit embarassed, because I downloaded cdo about three years ago somewhere in the internet and always used it by just calling the .exe from the network drive where I copied it to. I actually thought, that the python module is standalone, but now that you asked me for my cdo installation directory I searched the zmaw.de site and found out, that I can copy it to my system32 directory... That makes the handling of cdo much more comfortable ;-)
Now everything works fine!

Best regards,
Beate

    (1-2/2)