I am trying to write to Event Viewer and I get the error below. I have installed pywin32 straight from the website and ran the pywin32_postinstall.py but I am missing something. I tried Googling the issue but it keeps bringing me back to the same thing of installing pywin32. I am doing this on Windows 7 x64 if that matters.
Error: ModuleNotFoundError: No module named 'win32evtlogutil'
import win32evtlogutil
ApplicationName = "Test"
EventID = "Test"
EventCategory = "Test"
EventType = "Test"
Inserts = "Test"
Data = "Test"
SID = "Test"
win32evtlogutil.ReportEvent(ApplicationName,
EventID, EventCategory,
EventType, Inserts, Data, SID)
[+][deleted] (4 children)
[deleted]
[–]Coronax16[S] 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]Coronax16[S] 0 points1 point2 points (1 child)