No module named Win32com.client Error resolution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.