
Oct. 27, 2015
11:50 a.m.
Dear Alberto, can you tell us which python/pip you are using? Are you using the one from MacOSX itself, or one installed by homebrew/macports/...? Best, Michael On 22-10-15 17:43, Alberto Verga wrote:
Hi!
I installed kwant 1.0.3 on mac os with
pip install kwant
Since this version, the new ones point to /usr/... instead /usr/local/... to find numpy libraries:
kwant/_system.c:255:10: fatal error: 'numpy/arrayobject.h' file not found #include "numpy/arrayobject.h"
and the installation fails. The correct path is of the form:
/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/
etc.
Best wishes,
_Alberto Verga <mailto:Alberto.Verga@univ-amu.fr>_
Université d'Aix-Marseille Campus St Jérôme, service 142 13397 Marseille cedex 20, France