concico wrote: > I have written a file prova.py: > -------------------------------------------------------------- > #!/usr/bin/env python > import Globals > from Products.ZenUtils.ZenScriptBase import ZenScriptBase > > dmd = ZenScriptBase(connect=True).dmd > -------------------------------------------------------------- > chmod +x prova.py > > > But i have this problem: > File "./prova.py", line 3, in ? > from Products.ZenUtils.ZenScriptBase import ZenScriptBase > ImportError: No module named ZenUtils.ZenScriptBase
What is the output from: Code: $ echo $ZENHOME Code: $ which python Are you executing this as the user under which Zenoss runs? If not, you'll need to point to the python binary that is part of your Zenoss installation. -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=26257#26257 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
