kafka-python安装
InstallInstall with your favorite package managerLatest ReleasePip:pip install kafka-pythonReleases are also listed at https://github.com/dpkp/kafka-python/releasesBle
·
Install
Install with your favorite package manager
Latest Release
Pip:
pip install kafka-python
Releases are also listed at https://github.com/dpkp/kafka-python/releases
Bleeding-Edge
git clone https://github.com/dpkp/kafka-python
pip install ./kafka-python
Setuptools:
git clone https://github.com/dpkp/kafka-python
easy_install ./kafka-python
Using setup.py directly:
git clone https://github.com/dpkp/kafka-python
cd kafka-python
python setup.py install
Optional Snappy install
Install Development Libraries
Download and build Snappy from http://code.google.com/p/snappy/downloads/list
Ubuntu:
apt-get install libsnappy-dev
OSX:
brew install snappy
From Source:
wget http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz
tar xzvf snappy-1.0.5.tar.gz
cd snappy-1.0.5
./configure
make
sudo make install
Install Python Module
Install the python-snappy module
pip install python-snappy
转载:https://kafka-python.readthedocs.org/en/latest/install.html
更多推荐
已为社区贡献1条内容
所有评论(0)