This is the error received:
Traceback (most recent call last):
File "C:/Users/Joe Martin/AppData/Local/Programs/Python/Python37/test.py", line 12, in <module>
import win32com.client
File "C:\Users\Joe Martin\AppData\Local\Programs\Python\Python37\lib\site-packages\win32com\__init__.py", line 5, in <module>
import win32api, sys, os
ModuleNotFoundError: No module named 'win32api'
This error occurs when trying to import the win32com.client module.
Solutions Tried:
- Fresh wipe and install of Python 3.7
pip install pypiwin32
pip install pywin32
- Running the pywin32_postinstall.py
I cannot find any other solution for how to fix this issue.