python - Pip unable to install pylibmc -


centos release 6.5 (final).

python 2.7.5 using virtualenv.

> rpm -qa '*memcache*' libmemcached-devel-0.31-1.1.el6.x86_64 libmemcached-0.31-1.1.el6.x86_64 libmemcache-devel-1.4.0-0.1.rc2.el6.rf.x86_64 libmemcache-1.4.0-0.1.rc2.el6.rf.x86_64 

@development-tools installed.

this output trying install pylibmc:

> pip install pylibmc downloading/unpacking pylibmc   running setup.py egg_info package pylibmc      warning: no files found matching 'license'     warning: no files found matching 'runtests.py'     warning: no files found matching '*.py' under directory 'pylibmc' installing collected packages: pylibmc   running setup.py install pylibmc     building '_pylibmc' extension     gcc -pthread -fno-strict-aliasing -g -o2 -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -fpic -duse_zlib -i/usr/local/include/python2.7 -c src/_pylibmcmodule.c -o build/temp.     in file included src/_pylibmcmodule.c:34:     src/_pylibmcmodule.h:189: error: ‘memcached_behavior_tcp_keepalive’ undeclared here (not in function)     src/_pylibmcmodule.h:256: error: ‘memcached_distribution_consistent_ketama_spy’ undeclared here (not in function)     src/_pylibmcmodule.h:256: error: initializer element not constant     src/_pylibmcmodule.h:256: error: (near initialization ‘pylibmc_distributions[3].flag’)     src/_pylibmcmodule.h:261: error: ‘memcached_distribution_consistent_max’ undeclared here (not in function)     src/_pylibmcmodule.h:261: error: initializer element not constant     src/_pylibmcmodule.h:261: error: (near initialization ‘pylibmc_distributions[5].flag’)     src/_pylibmcmodule.c: in function ‘pylibmc_client_gets’:     src/_pylibmcmodule.c:571: warning: passing argument 2 of ‘memcached_mget’ incompatible pointer type     /usr/include/libmemcached/memcached_get.h:25: note: expected ‘char **’ argument of type ‘const char **’     src/_pylibmcmodule.c: in function ‘pylibmc_memcached_fetch_multi’:     src/_pylibmcmodule.c:1375: warning: passing argument 2 of ‘memcached_mget’ incompatible pointer type     /usr/include/libmemcached/memcached_get.h:25: note: expected ‘char **’ argument of type ‘const char **’     error: command 'gcc' failed exit status 1     complete output command /home/vagrant/.virtualenvs/cfft2.7/bin/python2.7 -c "import setuptools;__file__='/home/vagrant/.virtualenvs/cfft2.7/build/pylibmc/setup.py';exec(com     running install  running build  running build_py  running build_ext  building '_pylibmc' extension  gcc -pthread -fno-strict-aliasing -g -o2 -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -fpic -duse_zlib -i/usr/local/include/python2.7 -c src/_pylibmcmodule.c -o build/temp.linu  in file included src/_pylibmcmodule.c:34:  src/_pylibmcmodule.h:189: error: ‘memcached_behavior_tcp_keepalive’ undeclared here (not in function)  src/_pylibmcmodule.h:256: error: ‘memcached_distribution_consistent_ketama_spy’ undeclared here (not in function)  src/_pylibmcmodule.h:256: error: initializer element not constant  src/_pylibmcmodule.h:256: error: (near initialization ‘pylibmc_distributions[3].flag’)  src/_pylibmcmodule.h:261: error: ‘memcached_distribution_consistent_max’ undeclared here (not in function)  src/_pylibmcmodule.h:261: error: initializer element not constant  src/_pylibmcmodule.h:261: error: (near initialization ‘pylibmc_distributions[5].flag’)  src/_pylibmcmodule.c: in function ‘pylibmc_client_gets’:  src/_pylibmcmodule.c:571: warning: passing argument 2 of ‘memcached_mget’ incompatible pointer type  /usr/include/libmemcached/memcached_get.h:25: note: expected ‘char **’ argument of type ‘const char **’  src/_pylibmcmodule.c: in function ‘pylibmc_memcached_fetch_multi’:  src/_pylibmcmodule.c:1375: warning: passing argument 2 of ‘memcached_mget’ incompatible pointer type  /usr/include/libmemcached/memcached_get.h:25: note: expected ‘char **’ argument of type ‘const char **’  error: command 'gcc' failed exit status 1  ---------------------------------------- command /home/vagrant/.virtualenvs/cfft2.7/bin/python2.7 -c "import setuptools;__file__='/home/vagrant/.virtualenvs/cfft2.7/build/pylibmc/setup.py';exec(compile(open(__file__).read( storing complete log in /home/vagrant/.pip/pip.log 

can help?

what worked me install previous version of pylibmc. version 1.3.0 failing install fell 1.2.3

pip install pylibmc==1.2.3 

as far can tell pip doesn't have great way of showing available packages, there's yolk seems list pylibmc==1.3.0. i'm sure there better way, running install high number (unlikely have actual install candidate) , output possibilities. please let me know if know better way.

# pip install pylibmc==12222222 downloading/unpacking pylibmc==12222222   not find version satisfies requirement pylibmc==12222222 (from versions: 0.2, 0.3, 0.4, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5, 0.6.1, 0.6, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7, 0.8.1, 0.8.2, 0.8, 0.9.1, 0.9.2, 0.9, 1.0-alpha, 1.0-beta, 1.0, 1.1.1, 1.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0) no distributions matching version pylibmc==12222222 storing complete log in /root/.pip/pip.log 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -