mac m1 arm 安装 confluent-kafka 报错解决方案

  1. 安装librdkafka

brew install librdkafka

  1. 一行命令安装, 注意librdkafka的路径即可(一行命令, 不能拆开, 否则无效)
    C_INCLUDE_PATH=/opt/homebrew/Cellar/librdkafka/1.8.0/include LIBRARY_PATH=/opt/homebrew/Cellar/librdkafka/1.8.0/lib pip install confluent_kafka
posted @ 2021-11-23 17:01  つつつつつつ  阅读(620)  评论(0编辑  收藏  举报