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

时间: 2024-12-25 09:22:39

unknown behavior names: remove_failed的相关文章

学习yii2.0框架阅读代码(十三)

组件(Component) 组件是 Yii 应用的主要基石.是 yii\base\Component 类或其子类的实例.三个用以区分它和其它类的主要功能有: 属性(Property) 事件(Event) 行为(Behavior) 或单独使用,或彼此配合,这些功能的应用让 Yii 的类变得更加灵活和易用.以小部件 yii\jui\DatePicker 来举例,这是个方便你在 视图 中生成一个交互式日期选择器的 UI 组件: use yii\jui\DatePicker; echo DatePick

yii2源码学习笔记(四)

继续了解组件Component.php /** * Returns a value indicating whether a property is defined for this component. * A property is defined if: * * - the class has a getter or setter method associated with the specified name * (in this case, property name is case

yii2框架随笔5

/** * Returns a value indicating whether a property is defined for this component. * A property is defined if: * * - the class has a getter or setter method associated with the specified name * (in this case, property name is case-insensitive); * - t

MySQL数据库工具类之——DataTable批量加入MySQL数据库(Net版)

MySQL数据库工具类之——DataTable批量加入数据库(Net版),MySqlDbHelper通用类希望能对大家有用,代码如下: using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Text; p

vue报错There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these mod

今天在开发一个新项目时,当安装完依赖包启动项目后报了一个这个错 There are multiple modules with names that only differ in casing.This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.Use equal casing. Compare these module identifiers 谷歌翻译一下: 有

Behavior trees for AI: How they work

http://www.gamasutra.com/blogs/ChrisSimpson/20140717/221339/Behavior_trees_for_AI_How_they_work.php by Chris Simpson on 07/17/14 09:35:00 pm       27 comments       The following blog post, unless otherwise noted, was written by a member of Gamasutra

mysql set names.

SET NAMES utf8 相当于 SET character_set_client = utf8 --用来设置客户端送给MySQL服务器的数据的 字符集 SET character_set_results = utf8 --服务器返回查询结果时使用的字符集 SET character_set_connection = utf8 MySQL 服务器 把客户端传来的数据,从character_set_client字符集转换成character_set_connection字符集比如我们可以设置

java.security.cert.CertificateException: No subject alternative names present

背景:在开发一个项目中,要调用一个webservice服务,之前设置的是http协议,项目中采用jdk自带的wsimport工具生成的客户端代码; 后来,需求变更要求兼容https协议的webservice,开始以为只需要简单的将服务地址的连接改为https就可以了:但不行,总是报错 javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names

【Selenium】 FAQ_对象识别_Compound class names are not supported

测试代码 1 public void login(){ 2 3 WebDriver driver = new ChromeDriver(); 4 5 driver.get("http://IP:Port/client/login.html"); 6 7 driver.findElement(By.id("username")).sendKeys("admin"); 8 9 driver.findElement(By.id("pwd&qu