ModuleNotFound error

Hi Team,
I am trying to use Diagrams Module in my project which I am not able to do so,

pip install diagrams

while running the crewai it gives

  File \Downloads\LandingZone\Lzone\src\iac\tools\custom_tool.py", line 7, in <module>
    from diagrams import Diagram
File "C:\Users\asing476\Downloads\LandingZone\Lzone\.venv\Lib\site-packages\diagrams\__init__.py", line 7, in <module>        
    from graphviz import Digraph
ModuleNotFoundError: No module named 'graphviz'

Hi @Anuj_Kumar_Singh ,
Are you using the YAML configuration format to create your crew? If so, make sure to add graphviz by running the following command in your terminal

uv add graphviz

This will add it to the pyproject.toml + install it for use since that’s what it is complaining about.