[pywin32-bugs] [ pywin32-Bugs-917702 ] pywintypes can't find pywintypes23.dll
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-03-16 23:51:30
|
Bugs item #917702, was opened at 2004-03-16 15:51 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=917702&group_id=78018 Category: pythonwin Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Submitted By: dak (dakcalouro) Assigned to: Nobody/Anonymous (nobody) Summary: pywintypes can't find pywintypes23.dll Initial Comment: After installing Python v2.3 and pywin32 build 200 on Windows ME, at startup pythonwin opens a window titled "Python Traceback when executing InitInstance handler". The window contains File "C:\PROGRAMS\PYTHON\Lib\site- packages\Pythonwin\pywin\framework\intpyapp.py", line 163, in InitInstance import interact File "C:\PROGRAMS\PYTHON\Lib\site- packages\Pythonwin\pywin\framework\interact.py", line 26, in ? import winout File "C:\PROGRAMS\PYTHON\Lib\site- packages\Pythonwin\pywin\framework\winout.py", line 26, in ? from pywintypes import UnicodeType File "C:\PROGRAMS\PYTHON\Lib\site-packages\win32 \lib\pywintypes.py", line 55, in ? __import_pywin32_system_module__("pywintypes", globals()) File "C:\PROGRAMS\PYTHON\Lib\site-packages\win32 \lib\pywintypes.py", line 48, in __import_pywin32_system_module__ raise ImportError, "Can not locate " + filename exceptions.ImportError: Can not locate pywintypes23.dll ------------------ end of error window contents I found the file pywintypes23.dll my C:\Programs\Python installation folder (I can't remember which subfolder) and copied it to the folders that seemed likely: C:\Programs\Python\DLLs, C:\WINDOWS\SYSTEM, C:\WINDOWS\SYSTEM32. Restarting pythonwin.exe gave the same error msg. I scanned pywintypes.py for workaround ideas, and copied pywintypes23.dll to C:\WINDOWS. Now pythonwin starts up without error (shows the version & copyright msg and the >>> interpreter prompt). This is OK as a workaround. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=917702&group_id=78018 |