win32com.client.Dispatch(“Outlook.Application”) error pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

后端 未结 2 1552
陌清茗
陌清茗 2021-02-09 01:45

I am on windows 7 and I have windows live installed. Now when I am trying to run following code

import win32com.client
win32com.client.Dispatch(\"Outlook.Applica         


        
2条回答
  •  耶瑟儿~
    2021-02-09 02:19

    This is an indication that Outlook is not installed. "windows live" or "outlook.com" would not help you.

提交回复
热议问题