Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing pylibmc on Ubuntu

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 
like image 878
Zags Avatar asked Dec 05 '13 00:12

Zags


2 Answers

sudo apt-get install libmemcached-dev zlib1g-dev 
like image 103
Zags Avatar answered Oct 05 '22 18:10

Zags


Zags answer didn't do the trick for me on Ubuntu 13.10. libmemcached-dev had already been installed. I had to also do:

sudo apt-get install zlib1g-dev

Maybe that will help someone else.

like image 38
ThatAintWorking Avatar answered Oct 05 '22 18:10

ThatAintWorking