Having issues to run a model from python, below the actual code , always return module object not callable. ArcMap 10.1 using arcPy esri python 64-bit
Any ideas why?
import arcpy
try:
arcpy.ImportToolbox("c:/test/geocode.tbx")
arcpy.Model_41(<param>,<param>)
except Exception as e:
print e.message
error >> 'module' object is not callable
Removing try/except as suggested.
import arcpy
arcpy.ImportToolbox("c:/test/geocode.tbx")
arcpy.Model_41("<param>,<param>")
error >>TypeError: 'module' object is not callable