[python-win32] pywin32 incompatible with Python 3.12

Mark Hammond mhammond at skippinet.com.au
Wed Feb 7 16:56:03 EST 2024


pywin32 is overdue a release, compounded by the fact I no longer have a 
Windows machine available. As noted in the readme, github actions to 
create "artifacts" on some pushes, so, eg, 
https://github.com/mhammond/pywin32/actions/runs/7713784334/artifacts/1206054711 
will have a recent wheel for all supported versions including 3.12 which 
will not have that error.

HTH,

Mark

On 2024-02-07 4:03 p.m., Wuping Xin wrote:
> Python 3.12 removed the module 'imp', but pyscript.py still relies on 
> 'import imp' - this will lead to: ModuleNotFoundError: No module named 
> 'imp'
>
> pyscript.py", line 213, in InitNew
> import imp
> ModuleNotFoundError: No module named 'imp'
>
> Solutions?
>
> Wuping
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20240207/910efddd/attachment.html>


More information about the python-win32 mailing list