unknown behavior names: remove_failed

http://libmemcached.org/libMemcached.html

报错:

Exception Value:
unknown behavior names: remove_failed
Exception Location: /usr/local/lib/python2.7/site-packages/pylibmc/client.py in set_behaviors, line 171

重装过程:

查看当前ubuntu版本
cat /etc/issue

查看安装的 libmemcached-dev版本
sudo apt-cache show libmemcached-dev

sudo apt-get remove libmemcached-dev 删除老版本

wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
tar xvf libmemcached-1.0.18.tar.gz
cd libmemcached-1.0.18/
./configure
make
sudo make install

sudo pip uninstall pylibmc
sudo pip install pylibmc
sudo ln -s /usr/local/lib/libmemcached.so /usr/lib
(Exception Value:

libmemcached.so.11: cannot open shared object file: No such file or directory

)
sudo ln -s /usr/local/lib/libmemcached.so.11 /usr/lib

查看当前安装的全局应用
pip freeze

Django==1.5.5
MySQL-python==1.2.3
PIL==1.1.7
Thrift==0.7.0
hiredis==0.1.0
kazoo==2.0b1
mongoengine==0.6.20
pycrypto==2.6
pycurl==7.19.0
pylibmc==1.3.99-dev
pymongo==2.7.1
python-memcached==1.53
redis==2.9.1
simplejson==2.3.2
tornado==2.1.1
uWSGI==2.0.6
wsgiref==0.1.2
xlrd==0.9.3
xlutils==1.7.1
xlwt==0.7.5

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值