KLayout / klayout

KLayout Main Sources
http://www.klayout.org
GNU General Public License v3.0
754 stars 196 forks source link

ERROR: Failed building wheel for klayout #1653

Closed planckian closed 4 months ago

planckian commented 4 months ago

When running pip install klayout on my Windows 11 machine with Python 3.12 I get the following error:

Screenshot 2024-03-11 101204

I've tried installing older versions of KLayout all the way down to 0.28.1, but I always get the same error. I've also tried installing a few different versions of Microsoft Visual C++ (14.38 and 14.32), but that didn't help. Anyone has a tip on how to solve this issue? Many thanks.

klayoutmatthias commented 4 months ago

Python 3.12 isn't supported by the wheel files on Windows right now. Currently, up to Python 3.11 is supported.

If you can, please use Python 3.11.

I can try to enable 3.12 for 0.28.17, but thanks to the restrictive update policy of PyPI there is no guarantee.

Matthias

klayoutmatthias commented 4 months ago

Azure made me new wheels for Python 3.12 for win32 and win64, so you should be able to install the package now without building yourself.

Matthias

planckian commented 4 months ago

Thanks!