Importerror no module named WIN32API

Matt Smith s0199583 at sms.ed.ac.uk
Tue Aug 12 04:38:11 EDT 2003


Joe Francia <usenet at soraia.com> wrote in message news:<ggSZa.2128117$ZC.312674 at news.easynews.com>...
> Matt Smith wrote:
> 
> > hi all, again....
> > 
> > having another problem with python COMs, I run a python script on a
> > win2000 machine, that uses win32com.client and it runs perfectly,
> > whereas when I come to run it on a win98 machine (the machine that the
> > code, when completed, will be running from in the future) it returns
> > the error:
> > 
> > Traceback (most recent call last):
> >   File "firsttry.py", line 1, in ?
> >     import helloworld
> >   File "G:\msmith\python\helloworld.py", line 2, in ?
> >     import win32com
> >   File "C:\PYTHON23\lib\site-packages\win32com\__init__.py", line 5,
> > in ?
> >     import win32api, sys
> > ImportError: No module named win32api
> > 
> > Any clues as to how to rectify this problem would be greatly
> > appreciated
> > 
> > cheers,
> > matt.
> 
> Maybe you need to install the win32all extensions on the Win98 machine?
> http://starship.python.net/crew/mhammond/
> 
> jf

jf was that supposed to be funny ?

no i would like a serious answer to this problem, as it is seriously hampering
my current project.

cheers, 
matt




More information about the Python-list mailing list