inside Pycharm arcpy is not working

05-19-2020 03:00 AM
New Contributor II
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