-
Notifications
You must be signed in to change notification settings - Fork 916
Unable to install confluent-kafka package on docker using dockerfile #1466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you tried this - https://github.com/confluentinc/confluent-kafka-python#install |
I did. But it didn't work. |
We don't have linux arm64 wheels as of now. We are planning to release it in a later release. Don't have exact date right now but it is in our priority list. |
hi @pranavrth I just stumbled on this very problem I see that there are arm64 versions of the wheel on pypi https://pypi.org/project/confluent-kafka/1.9.2/#files Where is the problem? |
Nevermind, I see where the problem is: we need linux arm64, not macos arm64 (which is available) |
@pranavrth Is there any roadmap to get Linux arm64 builds? I'm just trying to see if I can help get it done. I am building from source and using Linux arm64 builds. Pushing it PyPi makes it a lot easier to distribute. |
The changes to generate Linux arm64 wheel is already merged. We will release it in the next release which we are planning by end of this month or early April. |
@pranavrth We are almost at the end of this month. Do you have any concrete date/plan for the release? |
@pranavrth any update about this ? or is there any RC version that we can try ? |
We have release v2.1.0 with linux/arm64 wheel. Now you can use that. |
Even though 2.1.0 is released, it is not yet available on most distros. I guess it will take time. Mean while building from source is still the easy way to get it working.
@pranavrth Let me know if there is a better way. On Ubuntu 22.04 (LTS), only 1.8.0 is available, which is way behind. |
I am getting similar error for below docker file. Do we have any solution for this?. How can I install librdkafka using python official base image? error: command '/usr/bin/gcc' failed with exit code 1 #Dockerfile RUN apt update RUN wget -qO - https://packages.confluent.io/deb/7.0/archive.key | apt-key add - |
@ksajan - Can you please share docker file that worked for you to install both librdkafka and confluent-kafka. |
i am also seeing the same issue.can some one please help me here
my docker file looks something like this
|
Change |
So still cannot use on python 3.10.5 |
Is there a way to install librdkafka v2.3.0 on Ubuntu? Currently using 18.04 |
Description
I am trying to use confluent-kafka client package for python but i an unable to do so.
Please check the error log
How to reproduce
I am trying to install confluent-kafka but i am unable to do so. Is there a correct way to install confluent-kafka for python. Thank you for the help. I have tried using https://docs.confluent.io/platform/current/installation/installing_cp/deb-ubuntu.html#configure-cp and librdkafka but still the same error.
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
):{...}
'debug': '..'
as necessary)The text was updated successfully, but these errors were encountered: