You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from pymilvus import MilvusClient
client = MilvusClient("milvus.db")
print("hello")
i see the following result:
hello
Exception ignored in: <function ServerManager.__del__ at 0x7f3d1f9a2f20>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/milvus_lite/server_manager.py", line 58, in __del__
File "/usr/local/lib/python3.12/dist-packages/milvus_lite/server_manager.py", line 53, in release_all
File "/usr/local/lib/python3.12/dist-packages/milvus_lite/server.py", line 118, in stop
File "/usr/lib/python3.12/pathlib.py", line 1164, in __init__
File "/usr/lib/python3.12/pathlib.py", line 358, in __init__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <function Server.__del__ at 0x7f3d1f9a2d40>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/milvus_lite/server.py", line 122, in __del__
File "/usr/local/lib/python3.12/dist-packages/milvus_lite/server.py", line 118, in stop
File "/usr/lib/python3.12/pathlib.py", line 1164, in __init__
File "/usr/lib/python3.12/pathlib.py", line 358, in __init__
ImportError: sys.meta_path is None, Python is likely shutting down
qwer.db file is created but i don't want to get this error
Expected Behavior
I don't want to get this error
Environment details
- Method of installation (Docker, or from source): sudo pip install pymilvus pymilvus[model] pymilvus[bulk_writer] --break-system-packages
- pymilvus version: 2.4.7
Anything else?
I tried to run this code:
from pymilvus import MilvusClient
try:
client = MilvusClient("qwer.db")
finally:
client.close()
but the result is the same.
UPD
I have managed to fix the issue by moving to python3.9 from python3.12.
So pymilvus doesn't support python3.12 ?
The text was updated successfully, but these errors were encountered:
@XuanYang-cn: GitHub didn't allow me to assign the following users: junjiejiangjjj.
Note that only milvus-io members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Describe the bug
When i run the following code:
i see the following result:
qwer.db file is created but i don't want to get this error
Expected Behavior
I don't want to get this error
Environment details
Anything else?
I tried to run this code:
but the result is the same.
UPD
I have managed to fix the issue by moving to python3.9 from python3.12.
So pymilvus doesn't support python3.12 ?
The text was updated successfully, but these errors were encountered: