Erich Nakasone wrote: > > hi, i'm from Peru, so my english is really bad, but anyway. > > I got this code > > import win32com.client, sys, os > gp = win32com.client.Dispatch("esriGeoprocessing.GpDispatch.1") > > ... > > that run wihtout problems. > > but when I change of computer the same code > > apear this > > Traceback (most recent call last): > File "E:\PRACTICANTES\erich\python\python\namematchingV3.py", line > 2, in ? > gp = win32com.client.Dispatch("esriGeoprocessing.GpDispatch.1") > File "C:\Python21\win32com\client\__init__.py", line 95, in Dispatch > dispatch, userName = > dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx) > File "C:\Python21\win32com\client\dynamic.py", line 84, in > _GetGoodDispatchAndUserName > return (_GetGoodDispatch(IDispatch, clsctx), userName) > File "C:\Python21\win32com\client\dynamic.py", line 72, in > _GetGoodDispatch > IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, > pythoncom.IID_IDispatch) > com_error: (-2147024770, 'The specified module could not be found.', > None, None) > > I don't know what to do. >
This just says that you don't have the ESRI application installed on the other computer. Or, if it is installed, it isn't properly registered. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32