Closed kkin1995 closed 3 years ago
You probably need to do something similar to this bit from the linux instructions.
Try find /usr/include/ -name "arrayobject.h"
and find /usr/lib/ -name "arrayobject.h"
to see if you have the correct header.
Yes! Thank You! The exact command that got it to work is:
python3 claude_setup.py build_ext --inplace -I/venv/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:venv/lib/python3.9/site-packages/numpy/core/include/
First, I found the location of "arrayobject.h" at the path
/venv/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h
and then I found the location of numpy at the path
/venv/lib/python3.9/site-packages/numpy/core/include/
and included both of them in the command.
From the documentation for macOS, I ran the following command after installing the dependencies:
Which gave the following error: