Bugs item #1762768, was opened at 2007-07-29 01:01
Message generated for change (Settings changed) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1762768&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: installation
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Sam Denton (samwyse)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'import win32file' in Python 2.5.1 can't locate PYWINTYPES25
Initial Comment:
Adding to Window's PATH fixes everything.
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>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
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
>>> import sys
>>> for d in sys.path: print d
...
c:\python25\lib\site-packages\setuptools-0.6c6-py2.5.egg
c:\python25\lib\site-packages\sqlalchemy-0.3.10-py2.5.egg
c:\python25\lib\site-packages\pil-1.1.6-py2.5-win32.egg
c:\python25\lib\site-packages\epydoc-3.0beta1-py2.5-win32.egg
c:\python25\lib\site-packages\pywin32-210-py2.5-win32.egg
C:\WINNT\system32\python25.zip
c:\python25\DLLs
c:\python25\lib
c:\python25\lib\plat-win
c:\python25\lib\lib-tk
c:\python25
c:\python25\lib\site-packages
>>> ^Z
C:\>path=%PATH%;C:\Python25\Lib\site-packages\pywin32-210-py2.5-win32.egg\pywin3
2_system32
C:\>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
>>> ^Z
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2007-07-29 11:00
Message:
Logged In: YES
user_id=14198
Originator: NO
How did you install it? The pywin32_postinstall.py script is supposed to
be run by the installer, which copies these DLLs to either your SYSTEM32
directory, or the directory with python.exe in it.
It looks like you are using an egg provided by someone else - you should
discuss your problem with them, as pywin32 does not (yet) support eggs.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1762768&group_id=78018
|