AnsweredAssumed Answered

AttributeError: 'module' object has no attribute 'GetParameterAsText'

Question asked by JOHKOH on Apr 8, 2019
Latest reply on Apr 12, 2019 by Dan_Patterson

import arcpy, os
folderPath = arcpy.GetParameterAsText(0)

 

leads to the error in the title. Seems like the path to arcpy is not correct somewhere. I have installed several versions of Python which I believe have caused the problem. I have reinstalled ArcGIS Desktop but the problem persist. How can I solve the problem?

Outcomes