[Pydev-code] eclipse pywintypes.com_error
Brought to you by:
fabioz
|
From: <gur...@gm...> - 2007-12-08 20:21:27
|
Hello everybody,
i am using windows vista ultimate with an administrative account,python
2.5 ,eclipse 3.2,pywin32-210.win32-py2.5 and pydev plugin(verson
:1.3.10),and here is my problem :
<code>
import win32com.client
win32com.client.Dispatch ("ADODB.Command")
</code>
and with this code i get the error :
Traceback (most recent call last):
File "H:\dev\eclipse\workspace\pyProject\src\pyPackage
\adDeneme3.py", line 4, in <module>
win32com.client.Dispatch ("ADODB.Command")
File "E:\Python25\Lib\site-packages\win32com\client\__init__.py",
line 95, in Dispatch
dispatch, userName =
dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "E:\Python25\Lib\site-packages\win32com\client\dynamic.py",
line 98, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "E:\Python25\Lib\site-packages\win32com\client\dynamic.py",
line 78, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147024770, 'The specified module could not be
found.', None, None)
when i run this script from idle or command line everything goes
fine,i get this error with only pydev and eclipse.
thanks
ps : i also tried this with Windows XP,in that OS both the idle and
eclipse works fine,i had no problem
Gurkan
|