Hi Gavin,

Thanks for reporting this problem.  I can reproduce it in an empy venv
on my amd64 machine.

The problem seems related to the latest NumPy version 2 which introduces
breaking changes.  If you can live without NumPy 2, please try out the
following:

pip uninstall numpy
pip install ’numpy<2’
pip install kwant

The above works for me in the same venv that otherwise produces the same
error that you see.  Please let us know if this workaround works for you
as well.

(Obviously a proper solution is needed.  I’ll have a look into this.)

Cheers
Christoph

Attachment: signature.asc
Description: PGP signature

Reply via email to