|
File "d:\tribon\m3\vitesse\trigger\excel_p.py", line 7, in OpenExcel
excel = win32com.client.Dispatch('Excel.Application')
File "C:\Python23\Lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Python23\Lib\site-packages\win32com\client\dynamic.py", line 108, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python23\Lib\site-packages\win32com\client\dynamic.py", line 85, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2147221005, '\xce\xde\xd0\xa7\xb5\xc4\xc0\xe0\xd7\xd6\xb7\xfb\xb4\xae', None, None)
出现以前情况,是用win32com导表格,请问有朋友知道这个上那儿错没有?在公司试插件里不会出错,在win7系统里就出现了这个!是软件没有安装好还是安装掉了插件?
|
|