No module named Win32com.client Error resolution
I. Description of the error
When running import win32com.client, it is found that there is an import Error no module named Win32com.client this prompt, indicating that the module is not installed.
Second, download module
download the appropriate Python version of the module from https://sourceforge.net/projects/pywin32/files/pywin32/. The problem is resolved after installation.
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/8C/B5/wKioL1h1qRXA0HYLAADqbjQvX2k765.png-wh_500x0-wm_ 3-wmp_4-s_2834714948.png "title=" Pywin32.png "alt=" Wkiol1h1qrxa0hylaadqbjqvx2k765.png-wh_50 "/>
Pywin32-220.win-amd64-py2.7.exe corresponds to Python 64-bit
Pywin32-220.win32-py2.7.exe corresponds to Python 32-bit
Third, look at the number of Python bits
C:\users\hunk>pythonpython 2.7.13 (V2.7.13:A06454B1AFA1, Dec, 20:42:59) [MSC v.1500 + bit (Intel)] on Win32type "Help", "copyright", "credits" or "license" for more information.>>>
Four, select the appropriate module installation
Since I have multiple versions of Python installed under Windows,
Double-click Install Pywin32-220.win32-py2.7.exe, and note that the Python path that the module automatically chooses is the Python environment that you need to run.
No module named Win32com.client Error resolution