Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Still getting an error "ImportError: No module named win32com.client" after installing pywin32 lib

Tags:

python

I already installed the "Python for Windows extensions" library from here:

http://sourceforge.net/projects/pywin32/files/pywin32/

but when I import the "win32com.client" in my program, I still got the error message:

ImportError: No module named win32com.client

My Python version is 3.2.

Any ideas?

like image 685
Bingnan Avatar asked Nov 02 '11 10:11

Bingnan


People also ask

Is win32com library available on Linux?

Certainly not. win32com looks like a Windows specific library, tied to the WinAPI. Linux has a different operating system API (because Linux is not Windows and both are different OSes), mostly following the POSIX standards.


1 Answers

I faced the same problem while using Visual Studio. The following fixed the issue: 1. Right Click Project Properties (in the Solution Explorer window) 2. Select Properties 3. In the General Tab set the appropriate Interpreter (Python2.7 in this case)

enter image description here

like image 93
Jacob Kalakal Joseph Avatar answered Sep 22 '22 07:09

Jacob Kalakal Joseph