My Spyder python version is 3.7.9.
I tried to run import win32com.client as win32
then I got the error below.
Traceback (most recent call last):
File "<ipython-input-1-360eab2b8977>", line 1, in <module>
import win32com.client as win32
File "C:\Users\abc\AppData\Local\Programs\Spyder\pkgs\win32com\__init__.py", line 6, in <module>
import pythoncom
File "C:\Users\abc\AppData\Local\Programs\Spyder\pkgs\pythoncom.py", line 2, in <module>
import pywintypes
ModuleNotFoundError: No module named 'pywintypes'
I looked at the solutions here and copy and pasted files as below. In my case, I copied (pythoncom38.dll + pywintypes38.dll + pythoncom37.dll and pywintypes37.dll) but still I am getting the same error