how to install libmemcached for django framework in ubuntu 10.04

10,130

You just need to install these dependencies before installing pylibmc

sudo apt-get install -y libmemcached-dev zlib1g-dev libssl-dev python-dev build-essential

pip install pylibmc

Here is gist on Github that helps you.

Share:
10,130

Related videos on Youtube

zztczcx
Author by

zztczcx

python,javascript,ruby,NodeJs, elixir, golang

Updated on September 15, 2022

Comments

  • zztczcx
    zztczcx over 1 year

    I installed libmemcached 0,37 and ln -s /usr/local/lib/libmemcached.so.2 /usr/lib/libmemcached.so.2

    but when I run manage.py it still return
    import _pylibmc RuntimeError: pylibmc requires >= libmemcached 0.32, was compiled with 0.31

    I try to install newer libmemcached,but they donot have the file libmemcached.so.2

  • Ahsan
    Ahsan over 11 years
    Django memcache supports two binaries python-memcached` and pylibmc. Opt is having issue in pylibmc ??