Open
Description
Expected behavior and actual behavior
Since version >=309, importing any module after installation results in ImportError.
Expected:
No ImportError.
Steps to reproduce the problem
Any import statement fails:
import win32api
ImportError: DLL load failed while importing win32api: The specified procedure could not be found.
I've tried to re-run python pywin32_postinstall.py -install
manually, but it results in following error:
ImportError: DLL load failed while importing pywintypes: The specified module could not be found.
I've even copied libraries from pywin32_system32
to C:\Windows\system32
manually, but no luck.
I see no depedency issues with those dll, and import pywintypes
work ok.
Reverting to pywin32==308
also work ok, no import errors.
System information
Python version and distribution:
Python 3.12.2
pywin32 version:
Version: 310
Windows Version:
Edition Windows 11 Enterprise
Version 24H2
OS build 26100.3775
DLL locations:
C:\Program Files\Python312\pywintypes312.dll
C:\Users\<user>\AppData\Roaming\Python\Python312\site-packages\pywin32_system32\pythoncom312.dll
Metadata
Metadata
Assignees
Labels
No labels