import os
import arceditor
import arcpy
print arcpy.CheckProduct("ArcEditor")
arcpy.env.workspace = r"G:\user\Final Parcels\/"
print "************** STARTING ********************"
arcpy.SplitByAttributes_analysis("G:\user\Test Publishing.gdb\SmallParcels", "G:\user\Small Parcel SHPs", "SectionName")
Here's the relevant piece of my Python code. It fails as soon as it gets to SplitByAttributes. It returns "Available" when running CheckProduct.
Also, here's the error I get when it fails.
ERROR 000824: The tool is not licensed.
Failed to execute (Frequency).
Failed to execute (SplitByAttributes).