Python 2.5.1 can't find win32file?

samwyse samwyse at gmail.com
Sat Jul 28 16:47:48 CEST 2007


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.

Anyone have any ideas?




More information about the Python-list mailing list