[python-win32] Can't import win32api from pywin32-egg in wine

Mark Hammond mhammond at skippinet.com.au
Thu Sep 4 11:50:49 CEST 2008


See also http://bugs.python.org/setuptools/issue18 - it would be great if
you can work out what overlap exists...

Cheers,

Mark


> -----Original Message-----
> From: Hartmut Goebel [mailto:h.goebel at goebel-consult.de]
> Sent: Thursday, 4 September 2008 6:05 PM
> To: mhammond at skippinet.com.au
> Cc: python-win32 at python.org
> Subject: Re: [python-win32] Can't import win32api from pywin32-egg in
> wine
> 
> Hallo Mark,
> 
> > IIRC there is a bug in setuptools that prevented the post-install
> script
> > running in an egg - which would prevent those 2 DLLs being copied
> from
> > pywin32_system32 to either system32 or next to python.exe.  Try
> copying them
> > manually, or run 'pywin32_postinstall.py -install'
> 
> Neither of these seams to work.
> 
> 1) Both Scripts/pywin32_postinstall.py and
> Lib/site-packages/pywin32-212-py2.5-win32.egg/EGG-
> INFO/scripts/pywin32_postinstall.py
> fail.
> 
> 2) Manual copy to C:\Python25, C:\Python25\DLLs and C:\windows\system32
> does not help.
> 
> I figured out that LoadSystemModule wants to load
> C:\Python25\Lib\site-packages\pywin32_system32\pywintypes25.dll
> which doe not exist in an egg.
> 
> I prepared a patch which I will issue to the sourceforge project page.
> 
> --
> Schönen Gruß - Regards
> Hartmut Goebel
> Dipl.-Informatiker (univ.), CISSP
> 
> Goebel Consult
> Spezialist für IT-Sicherheit in komplexen Umgebungen
> http://www.goebel-consult.de




More information about the python-win32 mailing list