[python-win32] pywin32 incompatible with Python 3.12

Wuping Xin oudouxin at gmail.com
Wed Feb 7 16:03:39 EST 2024


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


More information about the python-win32 mailing list