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?