[python-win32] ImportError: No module named xxxxxx

Werner F. Bruhin werner.bruhin at free.fr
Sat Nov 10 14:13:19 CET 2012


On 10/11/2012 13:32, pythonStudent wrote:
> Hello,
>
> When I issue the following statement:
>
>>>> import win32com.client
>
> I got the following result:
>
> Traceback (most recent call last):
>    File "<pyshell#3>", line 1, in <module>
>      import win32com.client
> ImportError: No module named win32com.client
install win32 com
http://starship.python.net/~skippy/win32/Downloads.html

>
> These happened too with the following statements:
>
>>>> from xlrd import open_workbook
>
> Traceback (most recent call last):
>    File "<pyshell#1>", line 1, in <module>
>      from xlrd import open_workbook
> ImportError: No module named xlrd
install xlrd
http://pypi.python.org/pypi/xlrd

>>>> import pythoncom
>
> Traceback (most recent call last):
>    File "<pyshell#2>", line 1, in <module>
>      import pythoncom
> ImportError: No module named pythoncom
http://starship.python.net/~skippy/win32/Downloads.html
>
>
> I there anything I need to do first or install first before I execute these
> statements?
Yeap, see above

Werner



More information about the python-win32 mailing list