vrasneur/pyfasttext

pyhdc.cpp:5:10: fatal error: 'cstdint' file not found. error generated. error: command 'gcc' failed with exit status 1

Opened this issue · 0 comments

I am using MACOS High Sierra 10.13.6
i tried to install pyhdc, but I got the following error
eman$ sudo python3 setup.py install
running install
running build
running build_ext
building 'pyhdc' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/eman/anaconda3/include -arch x86_64 -I/Users/eman/anaconda3/include -arch x86_64 -DHNAME=permutations_8160.h -I/Users/eman/anaconda3/lib/python3.7/site-packages/numpy/core/include -I. -I/Users/eman/anaconda3/include/python3.7m -c pyhdc.cpp -o build/temp.macosx-10.7-x86_64-3.7/pyhdc.o -std=c++11
pyhdc.cpp:5:10: fatal error: 'cstdint' file not found
#include
^~~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1

I installed gcc and Std libraries, but it does not work.
Any advice?