dreamno

导航

 
  • M1 安装 confluent_kafka 步骤
# 升级, 一定要做, 新版本要升级
brew update
# 安装 librdkafka
brew install librdkafka
# 设置依赖的 C lib
C_INCLUDE_PATH=/opt/homebrew/Cellar/librdkafka/1.9.1/include
LIBRARY_PATH=/opt/homebrew/Cellar/librdkafka/1.9.1/lib
export C_INCLUDE_PATH
export LIBRARY_PATH
# 安装 confluent_kafka
python3 -m pip install confluent_kafka

引用

posted on 2022-07-20 09:57  dreamno  阅读(148)  评论(0编辑  收藏  举报