I got some help from Stack Exchange ( http://gis.stackexchange.com/questions/5207/why-would-import-arcpy-hang-python-script-run-from-dos-c... ) that has helped me get this working on one Vista laptop but not another. I'm still hoping someone may come up with a (better) solution that works on both my laptops.
- Graeme
print "Starting" import os print "OS imported" import arcpy print "ArcPy imported"
import arcpy
'C:\\Program Files (x86)\\ArcGIS\\Desktop10.1\\arcpy'
We had this issue and it was our Anti Virus software causing it to hang.