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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s