Installing pylibmc on Ubuntu

Zags picture Zags · Dec 5, 2013 · Viewed 13.6k times · Source

When running

pip install pylibmc

on Ubuntu, I get the following error:

_pylibmcmodule.h:42:36: fatal error: libmemcached/memcached.h: No such file or directory

Answer

Zags picture Zags · Dec 5, 2013
sudo apt-get install libmemcached-dev zlib1g-dev