Python SDK fails to install

Here’s the output while trying to ‘pip install couchbase’.

I have installed libcouchbase (even though the documentation that I’m reading does not specify that it needs to be installed) but still no luck.

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/exceptions.c -o build/temp.macosx-10.10-intel-2.7/src/exceptions.o
In file included from src/exceptions.c:17:
src/pycbc.h:26:10: fatal error: ‘libcouchbase/api3.h’ file not found
#include <libcouchbase/api3.h>
1 error generated.
error: command ‘cc’ failed with exit status 1


Ensure you have at least version 2.4 of libcouchbase installed (though you may need a more recent one such as 2.5 for other features).