New to python but not coding; I'm running the Python tutorial, Python for everyone, and outright have an error I can't seem to find a solution to. Using Python 2.7.10 I tried running the sample script and immediately got the 'No module named arcpy' error.
My path variables appear correct:
My Desktop 10.x pth file:
C:\Program Files (x86)\ArcGIS\Desktop10.3\bin C:\Program Files (x86)\ArcGIS\Desktop10.3\arcPy C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolBox\Scripts
I'm running Win 0S 7 Pro SP1 64-bit
The example script:
import arcpy # script fails here #set workspace arcpy.env.workspace = r"C:\Student\PythEveryone10_1\RunningScripts\Oregon_Polk.gdb" #set up a describe object for each fc in gdb fcList = arcpy.ListFeatureClasses() for fc in fcList: desc = arcpy.Describe(fc) print desc.spatialReference.name print "Script completed"
Looking for any suggestions for troubleshooting. Thanks!
(Curtis Price added formatting and put the import arcpy that is failing at the top)