-
Notifications
You must be signed in to change notification settings - Fork 4.4k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
grpc issue on M2 mac with #3852 #3861
Comments
The issue you're encountering with grpc on your M2 Mac, when using Dify version 0.6.5 alongside grpcio 1.62.2 and pymilvus 2.3.1, seems to stem from a compatibility problem between these specific versions. The grpc error you've described is indicative of a missing symbol, likely due to the grpcio version not fully supporting the M2 architecture or conflicting with other dependencies. Given pymilvus 2.3.1's requirement for grpcio to be within the range >=1.49.1, <=1.58.0, upgrading to grpcio 1.62.2 as a workaround for the M2 compatibility issue introduces a new problem: it falls outside the compatible range required by pymilvus, leading to further compatibility issues. Unfortunately, without a direct fix or workaround available in the repositories for this specific grpc issue on M2 Macs, and considering the constraints around grpcio's version compatibility with pymilvus, the situation is indeed challenging. To better assist, could you provide additional details about your setup, including the Python version, operating system version, and any other relevant dependencies? This information could help in identifying potential workarounds or alternative solutions. Additionally, sharing the exact steps you've taken to configure your environment, as well as the full error message or stack trace, could offer more insights into the issue, potentially leading to a more targeted solution.
|
hello, do you have a solution? |
temporary solution: |
I encountered this when trying to develop based on dify 0.6.8. The comment here worked for me. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Self Checks
Dify version
0.6.5
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
With 0.6.5 and #3852 my M2 mac is throwing grpc error (grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_CFDataGetBytes')
Installing grpcio 1.62.2 fixes that issue, but is not compatible with pymilvus 2.3.1 (requires grpcio<=1.58.0,>=1.49.1)
Do you have any suggestions other than not coding on my Mac? 🥇
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: