We had this issue and it was our Anti Virus software causing it to hang.
I got some help from Stack Exchange ( http://gis.stackexchange.com/questions/5207/why-would-import-arcpy-hang-python-script-run-from-dos-cmd-prompt ) 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'
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.