ImportError: cannot import name 'COMError' from '_ctypes' Unfortunately COMTypes is designed for Windows.