Hello when I attempt to install pylibmc on OSX Lion using pip I get the following error:
./_pylibmcmodule.h:42:10: fatal error: \'libmemcached/memcached.h\' file
I have the same problem because i have installed MEMCACHED and not LIBMEMCACHED, so, to resolve:
brew uninstall memcached #to remove wrong package brew install libmemcached #install correct lib pip install pylibmc
Its Works for me!
: )