FME 2021.2.2 on Windows 11
To use the win32com module with a PythonCaller, I have installed the module with this command.
fme.exe python -m pip install pywin32 --target C:\\Users\\<user>\\Documents\\FME\\Plugins\\Python
cf. Installing Python Packages to FME Desktop
In the PythonCaller script, use the module with this code.
from win32com.client import Dispatch
This error message appears when run the workspace.
Python Exception <ModuleNotFoundError>: No module named 'win32api'
I believe that the script is not wrong, since the workspace can be run if I install the module into an external Python interpreter and use it as Custom Python Interpreter for FME.
Can you use win32com into with the Python interpreter bundled in FME Desktop?