Python 2.5.1 can't find win32file?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Jul 29 17:21:02 CEST 2007


En Sat, 28 Jul 2007 11:47:48 -0300, samwyse <samwyse at gmail.com> escribió:
> On Jul 28, 8:16 am, samwyse <samw... at gmail.com> wrote:

>> I just upgraded from 2.4.something to 2.5.1.  I get the stuff below.
>> I tried easy-installing pywin32; same results.  Anyone know what's
>> going on?
>
> Interestingly enough, this works:
>
> C:\Python25>path=%path%;C:\Python25\Lib\site-packages\pywin32-210-
> py2.5-win32.eg
> g\pywin32_system32
>
> C:\Python25>python
> Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import win32file
>>>>
>
> It looks like the system search path isn't getting updated so that
> PYWINTYPES25.DLL can be found when win32file.pyd is loaded.

I may be wrong, but I think eggs don't support external dlls. I don't use  
eggs, and downloading and installing pywin32 has always worked for me.

-- 
Gabriel Genellina




More information about the Python-list mailing list