deleted-user-VeZur_n9o0OZ

Schedule a script: ImportError: No module named arcpy

Discussion created by deleted-user-VeZur_n9o0OZ on Jun 6, 2011
Latest reply on Jun 7, 2011 by emerickr
Hi folks,

I've added a script to a toolbox that I'd like to run every X minutes as a scheduled task. If I try and run my .py file from command line I cannot import arcpy:

[HTML]ImportError: No module named arcpy[/HTML]

Same message if I try and run the script in PyDev for Eclipse, or Idle. I've read this thread but with no joy.

Info
I'm on Windows 7, 64bit
this folder exits: C:\Python26\ArcGIS10.0
I don't know where Desktop10.pth file is?
I have no PYTHONPATH variable

Any pointers appreciated!
James

Outcomes