xlwings pywintypes.com_error: (-2146959355, ‘服务器运行失败‘

根本原因

电脑上excel环境不正常

  • cmd输入comexp.msc -32
  • 组件,DCOM中找到microsoft excel application