4paradigm / 4paradigm/OpenMLDB
dlopen '_PyCMethod_New' error in python mac sdk
- Ngôn ngữ chính
- C++
- Star
- 1.7k
- Fork
- 331
- Merge trung bình
- 12 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
Another python sdk error on mac:
python sdk 0.7.2 released by macos-12, run on macos 12.1 python 3.8.2
```
ImportError: dlopen(...sdk.so, 0x0002): symbol not found in flat namespace '_PyCMethod_New'
```
I think 3.8.2 is old, 3.8.10 or 3.9?
3.9 works. 3.8.x haven't been test
Memo it.
_Originally posted by @vagetablechicken in https://github.com/4paradigm/OpenMLDB/issues/1200#issuecomment-1498858779_
Hướng dẫn đóng góp
Hướng nghiên cứu
The issue mentions a Python SDK import error on macOS related to a missing symbol '_PyCMethod_New'. Start by examining the SDK build process for macOS, particularly the Python C extension linking. Check the Python version compatibility (3.8.2 vs 3.8.10/3.9) and the build scripts. Look for existing tests or CI configurations that specify Python versions. Verify the fix by building the SDK with the affected Python version and running the import test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend, cli, tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100