[GH-ISSUE #373] ModuleNotFoundError: No module named 'agno.knowledge.pdf' The problem still exists? #428

Closed
opened 2026-04-15 06:53:13 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @xxH7r on GitHub (Nov 7, 2025).
Original GitHub issue: https://github.com/Shubhamsaboo/awesome-llm-apps/issues/373

I deployed:ai_legal_agent according to the tutorial, but when I tried to run it, an error popped up on the webpage.
ModuleNotFoundError: No module named 'agno.knowledge.pdf'
Traceback:
File "G:\1Python\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "G:\1Python\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "G:\1awesome llm\awesome-llm-apps\advanced_ai_agents\multi_agent_apps\agent_teams\ai_legal_agent_team\legal_agent_team.py", line 3, in
from agno.knowledge.pdf import PDFKnowledgeBase, PDFReader

I can't do anything about this, even if I ask GPT.

Originally created by @xxH7r on GitHub (Nov 7, 2025). Original GitHub issue: https://github.com/Shubhamsaboo/awesome-llm-apps/issues/373 I deployed:ai_legal_agent according to the tutorial, but when I tried to run it, an error popped up on the webpage. ModuleNotFoundError: No module named 'agno.knowledge.pdf' Traceback: File "G:\1Python\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling result = func() File "G:\1Python\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 579, in code_to_exec exec(code, module.__dict__) File "G:\1awesome llm\awesome-llm-apps\advanced_ai_agents\multi_agent_apps\agent_teams\ai_legal_agent_team\legal_agent_team.py", line 3, in <module> from agno.knowledge.pdf import PDFKnowledgeBase, PDFReader I can't do anything about this, even if I ask GPT.
Author
Owner

@xxH7r commented on GitHub (Nov 7, 2025):

GPT provided me with the following information:ModuleNotFoundError: No module named 'agno.knowledge.pdf'

Steps to reproduce
Clone the repository
cd advanced_ai_agents/multi_agent_apps/agent_teams/ai_legal_agent_team
pip install -r requirements.txt
streamlit run legal_agent_team.py
Environment
agno version: 2.2.8
Python version: 3.10.11
OS: Windows
Related
Similar to #140 - which was fixed for investment_agent and travel_agent in PR #146 and #147.
The legal_agent_team appears to still use the old API.

<!-- gh-comment-id:3501210419 --> @xxH7r commented on GitHub (Nov 7, 2025): GPT provided me with the following information:ModuleNotFoundError: No module named 'agno.knowledge.pdf' Steps to reproduce Clone the repository cd advanced_ai_agents/multi_agent_apps/agent_teams/ai_legal_agent_team pip install -r requirements.txt streamlit run legal_agent_team.py Environment agno version: 2.2.8 Python version: 3.10.11 OS: Windows Related Similar to #140 - which was fixed for investment_agent and travel_agent in PR #146 and #147. The legal_agent_team appears to still use the old API.
Author
Owner

@Shubhamsaboo commented on GitHub (Nov 10, 2025):

Fixed in this commit: cdf99eabe3

<!-- gh-comment-id:3509342799 --> @Shubhamsaboo commented on GitHub (Nov 10, 2025): Fixed in this commit: https://github.com/Shubhamsaboo/awesome-llm-apps/commit/cdf99eabe36b90f25e71885f6589614d23491708
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-llm-apps#428