Skip to content
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

ModuleNotFoundError: No module named 'milvus_lite'报错 #5

Closed
zhaofangtao opened this issue Aug 17, 2024 · 1 comment
Closed

ModuleNotFoundError: No module named 'milvus_lite'报错 #5

zhaofangtao opened this issue Aug 17, 2024 · 1 comment

Comments

@zhaofangtao
Copy link

1723878341136

Traceback (most recent call last):
File "F:\github\nano-graphrag\venv\Lib\site-packages\pymilvus\milvus_client\milvus_client.py", line 651, in _create_connection
raise ex from ex
File "F:\github\nano-graphrag\venv\Lib\site-packages\pymilvus\milvus_client\milvus_client.py", line 648, in _create_connection
connections.connect(using, user, password, db_name, token, uri=uri, **kwargs)
File "F:\github\nano-graphrag\venv\Lib\site-packages\pymilvus\orm\connections.py", line 378, in connect
from milvus_lite.server_manager import server_manager_instance
ModuleNotFoundError: No module named 'milvus_lite'

请问老师,MilvusLiteStorge如何替换成自定义的向量库呢。我查了Milvus lite官方issue,回应目前 milvus-lite 还不支持原生 Windows 安装。导致无法使用Milvus

@gusye1234
Copy link
Owner

好的 你希望支持什么向量数据库呢?Chroma?可以去Issue #2 下投票~ 下个版本会考虑添加
或者你可以参考MilvusLiteStorage的实现, 只要继承自BaseVectorStorage并且实现了对应的几个接口就可以直接替换vector_db_storage_cls这个参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants