Skip to content Skip to sidebar Skip to footer

Python COM Server Throws 'module' Object Has No Attribute 'VARIANT'

Here is a COM server implemented in Python: from win32com.server.exception import COMException import pythoncom import sys import os from string import Template import logging impo

Solution 1:

The VARIANT class was introduced in Pywin32 build 217. Try installing the latest version on the machine that it's failing on.


Post a Comment for "Python COM Server Throws 'module' Object Has No Attribute 'VARIANT'"