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@python.org
https://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to