inside Pycharm arcpy is not working

119
0
05-19-2020 03:00 AM
WileyNg
New Contributor
import arcpy
fc = "C:\\arcpy\\karlsruhe.gdb\\buildings"
cursor = arcpy.SearchCursor(fc)

I have a very simple script that i could run inside arcGIS pro but not in Pycharm.

it returns with this:

AttributeError: module 'arcpy' has no attribute 'SearchCursor'

I have all the environment set up:

what is the problem?

Tags (2)
0 Kudos
0 Replies