# diagram.py
from diagrams import Diagram
from diagrams.aws.compute import EC2
from diagrams.aws.database import RDS
from diagrams.aws.network import ELB
with Diagram("Web Service", show=False):
ELB("lb") >> EC2("web") >> RDS("userdb")
It output exception info like this:
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: PosixPath('dot'): PosixPath('dot')
and it seems not generate the png, but just a simple file contain some config info:
when i try to run example code below:
It output exception info like this:
and it seems not generate the png, but just a simple file contain some config info:
what's the problem