Python 2.5.1 can't find win32file?

Jay Loden python at jayloden.com
Sat Jul 28 13:14:08 EDT 2007


samwyse wrote:
> 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?

If you just want to update your PATH, you can do that from My Computer -> Properties -> Advanced -> Environment Variables and just update PATH for your user (or all users if you prefer).

-Jay



More information about the Python-list mailing list