Description
Description
On my first attempt to test the agent using Agno and Milvus, I installed the modules following the tutorial, but encountered an error when trying to use it initially.
Steps to Reproduce
- install packages
- code
`python
from agno.agent import Agent
from agno.embedder.sentence_transformer import SentenceTransformerEmbedder
from agno.knowledge.docx import DocxKnowledgeBase
from agno.models.vllm import vLLM
from agno.vectordb.milvus import Milvus
knowledge = DocxKnowledgeBase(
path="kl",
vector_db=Milvus(
collection="recipes",
uri="kl/wuda.db",
embedder=SentenceTransformerEmbedder(
id="/home/suny/.cache/modelscope/hub/Qwen3-Embedding-4B", dimensions=2048
)
)
)
agent = Agent(
model=vLLM(id="qwen3", base_url="http://localhost:9999/v1/"),
instructions=[
"在知识库内搜索问题",
"请严格使用提问的语言回答问题。",
],
knowledge=knowledge,
markdown=True,
)
agent.knowledge.load(recreate=False)
agent.print_response("B细胞重链基因和轻链基因分别位于哪个染色体", stream=True)
`
Agent Configuration (if applicable)
No response
Expected Behavior
Just make it work.
Actual Behavior
/home/suny/anaconda3/envs/agent/lib/python3.12/site-packages/milvus_lite/lib/milvus: error while loading shared libraries: libknowhere.so: cannot open shared object file: No such file or directory
Start milvus-lite failed
Screenshots or Logs (if applicable)
No response
Environment
- os: ubuntu
- python: 3.12
- packages:
agno==1.6.4
annotated-types==0.7.0
anyio==4.9.0
beautifulsoup4==4.13.4
certifi==2025.6.15
cffi==1.17.1
charset-normalizer==3.4.2
click==8.2.1
curl_cffi==0.11.4
distro==1.9.0
docstring_parser==0.16
duckduckgo_search==8.0.4
filelock==3.18.0
frozendict==2.4.6
fsspec==2025.5.1
gitdb==4.0.12
GitPython==3.1.44
greenlet==3.2.3
grpcio==1.67.1
h11==0.16.0
hf-xet==1.1.5
httpcore==1.0.9
httpx==0.28.1
huggingface-hub==0.33.1
idna==3.10
Jinja2==3.1.6
jiter==0.10.0
joblib==1.5.1
lxml==5.4.0
markdown-it-py==3.0.0
MarkupSafe==3.0.2
mdurl==0.1.2
milvus-lite==2.5.0
mpmath==1.3.0
multitasking==0.0.11
networkx==3.5
numpy==2.3.1
nvidia-cublas-cu12==12.6.4.1
nvidia-cuda-cupti-cu12==12.6.80
nvidia-cuda-nvrtc-cu12==12.6.77
nvidia-cuda-runtime-cu12==12.6.77
nvidia-cudnn-cu12==9.5.1.17
nvidia-cufft-cu12==11.3.0.4
nvidia-cufile-cu12==1.11.1.6
nvidia-curand-cu12==10.3.7.77
nvidia-cusolver-cu12==11.7.1.2
nvidia-cusparse-cu12==12.5.4.2
nvidia-cusparselt-cu12==0.6.3
nvidia-nccl-cu12==2.26.2
nvidia-nvjitlink-cu12==12.6.85
nvidia-nvtx-cu12==12.6.77
openai==1.91.0
pandas==2.3.0
peewee==3.18.1
pillow==11.2.1
primp==0.15.0
protobuf==6.31.1
pycparser==2.22
pydantic==2.11.7
pydantic-settings==2.10.1
pydantic_core==2.33.2
pymilvus==2.5.11
python-docx==1.2.0
python-dotenv==1.1.1
python-multipart==0.0.20
pytz==2025.2
PyYAML==6.0.2
regex==2024.11.6
requests==2.32.4
rich==14.0.0
safetensors==0.5.3
scikit-learn==1.7.0
scipy==1.16.0
sentence-transformers==4.1.0
setuptools==78.1.1
shellingham==1.5.4
smmap==5.0.2
sniffio==1.3.1
soupsieve==2.7
SQLAlchemy==2.0.41
sympy==1.14.0
threadpoolctl==3.6.0
tokenizers==0.21.2
tomli==2.2.1
torch==2.7.1
tqdm==4.67.1
transformers==4.53.0
triton==3.3.1
typer==0.16.0
typing-inspection==0.4.1
tzdata==2025.2
ujson==5.10.0
urllib3==2.5.0
websockets==15.0.1
wheel==0.45.1
yfinance==0.2.63
Possible Solutions (optional)
No response
Additional Context
No response