Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
GFoniX edited this pageJan 7, 2023 ·11 revisions

Welcome to the kafka-python wiki!!

Install

Install with your favorite package manager

Latest Release

  • Pip:

    pip install kafka-python

  • Releases are also listed athttps://github.com/mumrah/kafka-python/releasesBleeding-Edge

    git clone https://github.com/mumrah/kafka-pythonpip install ./kafka-python
  • Setuptools:

    git clone https://github.com/mumrah/kafka-pythoneasy_install ./kafka-python
  • Using setup.py directly:

    git clone https://github.com/mumrah/kafka-pythoncd kafka-pythonpython setup.py install

(Optional) Snappy install

Install Development Libraries

Dependencies

  • snappy library >= 1.0.2 (or revision 27)https://github.com/google/snappy

    You can install Snappy C library with following commands:

    • APT: :code:sudo apt-get install libsnappy-dev
    • RPM: :code:sudo yum install libsnappy-devel
    • Brew: :code:brew install snappy
  • To use with pypy:

Build & Install

  • Download and build Snappy from source

    1. Download as tar

      wget https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be/python-snappy-0.5.4.tar.gztar xzvf python-snappy-0.5.4.tar.gzcd python-snappy-0.5.4

      or Clone github repo

      git clone https://github.com/andrix/python-snappycd python-snappy
    2. Build:

      python setup.py build

    3. Install:

      python setup.py install

  • Install it from PyPi:

    pip install python-snappy

  • Ubuntu:

    apt-get install libsnappy-dev

  • OSX:

    brew install snappy


[8]ページ先頭

©2009-2025 Movatter.jp