AnsweredAssumed Answered

inside Pycharm arcpy is not working

Question asked by wileyhk2001 on May 19, 2020
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?

Outcomes