-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Bug]: Python SDK installation fails inside docker with image python:3.10-alpine #33892
Comments
/assign @XuanYang-cn |
@onel It seems it failed when compiling PyArrow. But pymilvus has removed PyArrow as the dependencies in 2.4.3 milvus-io/pymilvus#2087 Can you provide more information on how to reproducing this problem? |
Sure thing. This is how I recreated it. In a folder add these 2 files:
requirements.txt
and run In this case I tried with I am running |
@onel THX for the scripts. The download of PyMilvus falls back to 2.4.1 because Milvus-lite donesn't support Apline Linux. And we intergrated Milvus-lite into pymilvus in 2.4.2. So that's why your codes raises errors about PyArrow. And PyArrow can't be compiled on Apline Linux too. Please use python:3.12-slim for base. It works perfectly from my test. |
/unassign |
Thanks for the details. Should this be mentioned somewhere in the docs? I can make a PR is you point to the right file |
Is there an existing issue for this?
Environment
Current Behavior
Adding pymilvus to requirements and then trying to build the docker image fails because of pyarrow.
Error:
Expected Behavior
SDK install should work
Steps To Reproduce
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: