python – 在Ubuntu上安装pylibmc

运行时

pip install pylibmc

在Ubuntu上,我得到以下错误:

_pylibmcmodule.h:42:36: fatal error: libmemcached/memcached.h: No such file or directory
sudo apt-get install libmemcached-dev zlib1g-dev
翻译自:https://stackoverflow.com/questions/20388722/installing-pylibmc-on-ubuntu

转载注明原文:python – 在Ubuntu上安装pylibmc