-
Notifications
You must be signed in to change notification settings - Fork 335
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]: pymilvus2.0.2 relies on rgpcio 1.37.1 which cannot be installed on apple silicon #1030
Comments
related issue: #946 |
This grpcio problem is annoying indeed, planning to solve this in |
To run pymilvus, we only need `grpcio` To generate python files from protos, we need `grpcio-tools` This PR: 1. Removes `grpcio-tools` from install requirements 2. Extends `grpcio` versions 3. Provides the compatible version ranges of `grpcio-tools` and `grpcio` See also: milvus-io#1030, milvus-io#943, milvus-io#946 Signed-off-by: XuanYang-cn <[email protected]>
To run pymilvus, we only need `grpcio` To generate python files from protos, we need `grpcio-tools` This PR: 1. Removes `grpcio-tools` from install requirements 2. Extends `grpcio` versions 3. Provides the compatible version ranges of `grpcio-tools` and `grpcio` See also: #1030, #943, #946 Signed-off-by: XuanYang-cn <[email protected]>
To run pymilvus, we only need `grpcio` To generate python files from protos, we need `grpcio-tools` This PR: 1. Removes `grpcio-tools` from install requirements 2. Extends `grpcio` versions 3. Provides the compatible version ranges of `grpcio-tools` and `grpcio` See also: milvus-io#1030, milvus-io#943, milvus-io#946 Signed-off-by: XuanYang-cn <[email protected]>
Would love to see this resolved. Thank you. |
I wonder if this could help address the issue: |
@XuanYang-cn thank you for your PR, when do you plan to release pymilvus2.0.3? I can't use pymilvus now on GCP environment |
tried. no |
Exactly the same issue on Windows machine as well, pip3 install pymilvus==2.1.0 still relies on rgpcio 1.37.1 which is impossible to install. Rgpcio 1.48.0 install perfectly but pymilvus still tries to get 1.37.1 and then fails to install. Would love to get this depencency on 1.37.1 removed |
@XuanYang-cn can you please check this issue? Release 2.1.0 doesn't have desired changes in requirements.txt https://github.com/milvus-io/pymilvus/blob/2.1/requirements.txt It's really inconvenient to use pymilvus right now and such easy fix should have a shortcut way to production. It's been already 3 months of waiting for it 🙏 |
@kemics Line 21 in f4bda68
Please try not to use cache while installing PyMilvus so that pip would get the latest grpcio >= 1.47.0
|
This solved the same issue I had. I have a MacBook M2 13inch |
xcode-select --install |
pip install grpcio==1.56.0 pip install grpcio-tools==1.56.0 can run on my m2 mac |
fixed and closing |
Is there an existing issue for this?
Describe the bug
中文版本
现状,pymilvus 依赖 grpcio==1.37.1,但是无法在 apple silicon 机器上安装 grpcio==1.37.1 。❌
可能的原因是 grpcio 老版本的一个 BUG 🐞
在 grpcio 新版本中已经修复了这问题,安装 grpcio >= 1.38.1 即可解决 ✅
而目前 pymilvus 依赖的 grpcio 被写死为 1.37.1
我们需要让 pymilvus 支持最新的 grpcio 来解决这个问题,我看到已经有人提交了对应的 PR 来解决这个问题了update requirements,但是迟迟没有合并,急需解决 🆘🆘🆘
English translation version
Status, pymilvus relies on grpcio==1.37.1, but cannot install grpcio==1.37.1 on apple silicon machines. ❌
The possible reason is a bug in an older version of grpcio 🐞
This issue has been fixed in the new version of grpcio, installing grpcio >= 1.38.1 will fix it ✅
And currently pymilvus relies on grpcio which is written dead as 1.37.1
We need to make pymilvus support the latest grpcio to solve this problem, I see that someone has already submitted a corresponding PR to solve this problem update requirements, but there is a delay in The merge is urgent 🆘🆘🆘🆘
Translated with www.DeepL.com/Translator (free version)
Expected Behavior
中文版本
我希望可以在 apple silicon 顺利安装 pymilvus 而不受 grpcio 版本的影响
English translation version
I want to be able to install pymilvus on apple silicon without any problems with the grpcio version
中文版本
使用下面的命令安装 pymilvus,会在编译 grcpio 的时候报错
报错内容:
English translation version
Installing pymilvus with the following command will report an error when compiling grcpio
The error message reads.
Environment details
Anything else?
这是我的计算机信息
The text was updated successfully, but these errors were encountered: