Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import wx.lib.activex
- ---------------------------------------------------------------------------
- WindowsError Traceback (most recent call last)
- C:\Windows\system32\<ipython-input-2-382897257b2c> in <module>()
- ----> 1 import wx.lib.activex
- C:\Python27\lib\site-packages\wx\lib\activex.py in <module>()
- 41 if not hasattr(sys, 'frozen'):
- 42 f = os.path.join(os.path.dirname(__file__), 'myole4ax.tlb')
- ---> 43 cc.GetModule(f)
- 44 from comtypes.gen import myole4ax
- 45
- C:\Python27\lib\site-packages\comtypes\client\_generate.pyc in GetModule(tlib)
- 95 logger.debug("GetModule(%s)", tlib)
- 96 pathname = tlib
- ---> 97 tlib = comtypes.typeinfo.LoadTypeLibEx(tlib)
- 98 elif isinstance(tlib, (tuple, list)):
- 99 # sequence containing libid and version numbers
- C:\Python27\lib\site-packages\comtypes\typeinfo.pyc in LoadTypeLibEx(szFile, regkind)
- 478 "Load, and optionally register a type library file"
- 479 ptl = POINTER(ITypeLib)()
- --> 480 _oleaut32.LoadTypeLibEx(c_wchar_p(szFile), regkind, byref(ptl))
- 481 return ptl
- 482 else:
- C:\Windows\system32\_ctypes\callproc.c in GetResult()
- WindowsError: [Error -2147312566] Error loading type library/DLL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement