Post not yet marked as solved
Post marked as unsolved with 0 replies, 518 views
Since I have upgraded my macOS to Monterey, it couldn't run the cython files. I already installed xcode and the path of /Library/Developer/CommandLineTools/usr/bin
contains clang
but by running the following command
python setup.py build_ext --inplace
it return the error:
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
even it created the build and .c and .so files it couldn't compile and find c/c+ libs like:
cython_modules.c:620:10: fatal error: 'numpy/arrayobject.h' file not found
#include "numpy/arrayobject.h"
^~~~~~~~~~~~~~~~~~~~~
1 error generated.