I get this error when I run my script:
Runtime error Traceback (most recent call last): File "", line 15, in AttributeError: 'module' object has no attribute 'XYTableToPoint'
Script:
import arcpy
arcpy.env.overwriteOutput = True
from arcpy import env
env.workspace = r'U:\skelley\Python\Outputs'
inTable = r'U:\skelley\Python\FWD_GPR_import\FWD_Halsey_WGS1984.csv'
arcpy.management.XYTableToPoint(inTable, "quasars", "lat", "long",
arcpy.SpatialReference(4326))
Can anybody tell me why?