Wiki

Clone wiki

PyCA / Python_Issues

Python-related issues

  • If you get the following error during build:
    .../Libraries/PyCA/inc/types/typesPYTHON_wrap.cxx:3478:31: fatal error: numpy/arrayobject.h: No such file or directory
    
    This is most likely due to a missing link to the numpy headers. This is common on arch linux as python2-numpy does not put all the links where they should be. To fix it, run
    sudo ln -s /usr/lib/python2.7/site-packages/numpy/core/include/numpy /usr/include/python2.7/numpy
    

It is also possible that you don't have the numpy headers installed. Make sure python-numpy-devel is installed (not just python-numpy)

Updated