码迷,mamicode.com
首页 > 其他好文 > 详细

unknown behavior names: remove_failed

时间:2014-09-12 18:46:23      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:http   io   ar   on   html   c   line   ad   ef   

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

unknown behavior names: remove_failed

标签:http   io   ar   on   html   c   line   ad   ef   

原文地址:http://www.cnblogs.com/iwangzheng/p/3968755.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!