module ‘csv’ has no attribute ‘Writer’

AttributeError                            Traceback (most recent call last)
<ipython-input-1-2b6855960796> in <module>

     15 csvFile = open(search_key+".csv","a+",newline="",encoding="utf-8")
---> 16 csvWriter = csv.Writer(csvFile)
     17 c = []
     18 i = []

AttributeError: module 'csv' has no attribute 'Writer'

Help