Re: pywin32 incompatible with Python 3.12
Mark Hammond <[email protected]> Wed, 7 Feb 2024 16:56:03 -0500
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============5288764986392748241== Content-Type: multipart/alternative; boundary="------------R0bxqIANJTgtPFVU2iB0w0z6" Content-Language: en-US This is a multi-part message in MIME format. --------------R0bxqIANJTgtPFVU2iB0w0z6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > [email protected] > https://mail.python.org/mailman/listinfo/python-win32 --------------R0bxqIANJTgtPFVU2iB0w0z6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>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, <a class="moz-txt-link-freetext" href="https://github.com/mhammond/pywin32/actions/runs/7713784334/artifacts/1206054711">https://github.com/mhammond/pywin32/actions/runs/7713784334/artifacts/1206054711</a> will have a recent wheel for all supported versions including 3.12 which will not have that error.</p> <p>HTH,</p> <p>Mark<br> </p> <div class="moz-cite-prefix">On 2024-02-07 4:03 p.m., Wuping Xin wrote:<br> </div> <blockquote type="cite" cite="mid:[email protected]">Python 3.12 removed the module 'imp', but pyscript.py still relies on 'import imp' - this will lead to: ModuleNotFoundError: No module named 'imp' <br> <br> pyscript.py", line 213, in InitNew <br> import imp <br> ModuleNotFoundError: No module named 'imp' <br> <br> Solutions? <br> <br> Wuping <br> _______________________________________________ <br> python-win32 mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <br> <a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-win32">https://mail.python.org/mailman/listinfo/python-win32</a> <br> </blockquote> </body> </html> --------------R0bxqIANJTgtPFVU2iB0w0z6-- --===============5288764986392748241== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ python-win32 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-win32 --===============5288764986392748241==--