flier / pyfasthash

Python Non-cryptographic Hash Library
Apache License 2.0
281 stars 50 forks source link

pip install fails with Mac Python 3.6.2 for pyhash-0.8.2 #23

Closed aldengolab closed 6 years ago

aldengolab commented 6 years ago

Build fails with the following error message:

    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DBOOST_PYTHON_STATIC_LIB -I/opt/local/include -I/usr/local/include -I/Users/aldengolab/.pyenv/versions/3.6.2/include/python3.6m -c src/Hash.cpp -o build/temp.macosx-10.12-x86_64-3.6/src/Hash.o -DSUPPORT_INT128=1 -msse4.2 -maes
    In file included from src/Hash.cpp:1:
    src/Hash.h:3:10: fatal error: 'boost/python.hpp' file not found
    #include <boost/python.hpp>
             ^~~~~~~~~~~~~~~~~~
    1 error generated.
    error: command 'clang' failed with exit status 1
yuqaf1989 commented 6 years ago

You should install boost-python first

flier commented 6 years ago

Thanks @yuqaf1989