We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fairseq/data/token_block_utils_fast.c:612:10: fatal error: 'numpy/arrayobject.h' file not found #include "numpy/arrayobject.h"
The text was updated successfully, but these errors were encountered:
STEP 1: find the numpy include LOCATION file for "numpy/arrayobject.h" : python -c 'import sys; print("\n".join(sys.path))'
output: /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python36.zip /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6 /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload /usr/local/lib/python3.6/site-packages /usr/local/lib/python3.6/site-packages/pytorch_translate-0.1-py3.6.egg
Sorry, something went wrong.
STEP2 update the the makerfile.config to match python file to change the PYTHON_INCLUDE in Makefile.config into
PYTHON_INCLUDE :=/usr/local/lib/python3.6/site-packages/pytorch_translate-0.1-py3.6.egg
cd fairseq root folder Use vi Makefile.config command
No branches or pull requests
fairseq/data/token_block_utils_fast.c:612:10: fatal error:
'numpy/arrayobject.h' file not found
#include "numpy/arrayobject.h"
The text was updated successfully, but these errors were encountered: