Monthly Archives: June 2015

Installing pyhash in Mac OSX (using pip and brew)

If you are trying to install pyhash (0.6.2) on Mac OS X 10.10 you might get the following error:

src/Hash.h:20:20: error: __int128 is not supported on this target typedef unsigned __int128 uint128_t;

Try to run the install command in the following way:

ARCHFLAGS="-arch x86_64" pip install pyhash

If you are still having problems regarding a boost library missing,

ld: library not found for -lboost_python-mt

You can use brew to install it.

brew install boost-python

You might need too install bsddb3 package also with pip if it complains that the library is missing.

pip install bsddb3