Error Details
When running crewai run with a finance analyst crew that includes WebsiteSearchTool, I’m getting an ImportError related to qdrant_client compatibility.
Environment
- Project: finance_analyst
- Location: D:\Ai agents\finance_analyst
- Command: crewai run
Issue Summary
The error occurs when trying to initialize WebsiteSearchTool. The problem appears to be a version incompatibility between crewai_tools and qdrant_client. The code is trying to import ‘InitFrom’ from qdrant_client.models, but this import is failing.
Root Cause
The error chain is:
WebsiteSearchTool → RAGTool → crewai.rag.qdrant.config → crewai.rag.qdrant.types → qdrant_client.models
The qdrant_client version being used doesn’t have the ‘InitFrom’ import that crewai expects.
Steps to Reproduce
- Create a new CrewAI project with finance analyst agents
- Add WebsiteSearchTool to the crew configuration
- Run
crewai run - Observe the ImportError
Expected Behavior
The crew should initialize successfully and execute the defined tasks without import errors.
Additional Context
- Package management shows ‘Uninstalled 1 package in 19ms’
- This appears to be a dependency version mismatch issue
- Possible solution: Update qdrant_client to a compatible version or downgrade crewai_tools