pywin32 icon indicating copy to clipboard operation
pywin32 copied to clipboard

Embedded python failed `import pywintypes` using pywin32 version >302

Open fq opened this issue 3 years ago • 2 comments

Our software uses embedded python to run python script. After update to Python 3.10 and pywin32 304, we got this error "ImportError: No system module 'pywintypes' (pywintypes310.dll)"

When switch pywin32 back to 302 the problem went away. Seems there is some change since 302 break the dll loading from embedded python.

fq avatar Jul 21 '22 17:07 fq

Probably 0a1d4050c0c70269954acb22de4a7ed128574ea7, which means that the DLL is no longer being found. Either way, adding diagnostics to that .py file is probably the path forward.

mhammond avatar Jul 21 '22 20:07 mhammond