Solution
Ensure your Python script is correctly referencing the toolbox and the toolbox is accessible. Some possible reasons the import failed include
- The toolbox does not exist.
- Syntax error or typo in the path reference to toolbox.
More information
Make sure arcpy.ImportToolbox or arcpy.AddToolbox is used correctly and the toolbox exists.