[Zope] How to import win32com in external method

Andreas Jung lists at andreas-jung.com
Tue May 24 14:23:10 EDT 2005



--On Dienstag, 24. Mai 2005 14:16 Uhr -0400 Wei He <whe at rachisholm.com> 
wrote:

> Hi,
>
> I tried to import win32com in external method, but it always displays
>
> Error Type: ImportError
>
> Error Value: No module named win32com
>
>
>
> It's ok in python command line but never works in external method.
>

Are you sure that you are using the *same* Python interpreter in both cases?
In any case you should verify your PYTHONPATH, sys.path etc.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050524/8279850a/attachment.bin


More information about the Zope mailing list