zkpython 依赖于 zookeeper c 客户端,在安装zkpython 之前需要先安装 zookeeper c 客户端,否则会报如下错误:
Failed building wheel for zkpython
Running setup.py clean for zkpython
Failed to build zkpython
Installing collected packages: zkpython
Running setup.py install for zkpython ... error
Complete output from command /data/python27/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-rpLP5U/zkpython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-SVSYqc-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'zookeeper' extension
creating build
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g