shrug-l: arcpy.ImportToolbox

Keith Sandell Keith.Sandell at
Tue Dec 14 09:28:01 EST 2010

Hey Shruggers,


Has anyone had a problem with the ImportToolbox module?


I'm trying to import a custom toolbox into a script, but it's not




import arcpy


<file:///\\\servername\someDirectory\someOtherDirectory\Toolbox.tbx> )





I keep getting an error message: <type 'exceptions.ImportError'>: No
module named collections


I can't find anything in the docs about this error message, nor any
posts in the ESRI forums.


I've tried it on three (3) different custom toolboxes and even on some
the of the system toolboxes in the install directory...same thing each


I've also tried fully qualified UNC pathnames, local directory paths as


Any thoughts?




Keith Sandell, MBA

GIS Analyst

Corporate Analytics

Citizens Property Insurance Corporation

2101 Maryland Circle

Tallahassee, Florida 32303

(850) 521-8341


"If we are to achieve results never before accomplished we must expect
to employ methods never before attempted." - Francis Bacon


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the SHRUG-L mailing list