Looks like win32api in not installed with IRIS.

Try to install win32api module by running below command :

C:\InterSystems\IRIS\bin>irispip install --target C:\InterSystems\IRIS\mgr\python win32api

Replace C:\InterSystems by your IRIS installation folder

For more details please check below link
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...