Running issue #2 - numpy path
basharatoum opened this issue · 1 comments
basharatoum commented
After running the setup.sh script, I am encountered with
ALPCALCT.c:611:10: fatal error: 'numpy/arrayobject.h' file not found
#include "numpy/arrayobject.h"
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1
basharatoum commented
To fix this issue, add export CFLAGS="-I /path/to/your/numpy/library $CFLAGS"
to the beginning of the setup.sh script.
If you don't know what your numpy library path is, run the following shell command.
python3 -c "import numpy as np; print(np.get_include())
Note: you might need to change the python3 to whatever version of python you are using.