any help is appreciated,
I have python 3.7.2 installed. using PyCharm editor I run the following code:
from pywinauto import application
running that code produces the following error:
File "C:/Users/<user>/PycharmProjects/WebAuto/testPyWinAuto.py", line 1, in <module>
from pywinauto import application
File "C:\Users\<user>\PycharmProjects\WebAuto\venv\lib\site-packages\pywinauto\__init__.py", line 59, in <module>
import win32api # noqa: E402
ModuleNotFoundError: No module named 'win32api'
Process finished with exit code 1
what is going on? what to do??
Thank you for any help in advance.
You need to install PyWin32 (which is one of PyWinAuto dependencies):
pip install pywin32
Check: