
Section 1: How to install Diagrams in Linux based OS:
Prerequisites:
- Python 3.6 or higher
- Graphviz (to render the diagram)
Note: In this demo, Ubuntu 21.04 has been used.
Kindly open a terminal session and execute the below mentioned steps.
Step 1 : Check Python Version
Kindly use the below command to check Python version.
Step 2 : Install Graphviz (If it is not pre-installed)
Kindly install Graphviz using the below command.
Step 3 : Install Diagrams via pip(Install pip if it is not pre-installed)
Kindly install pip (optional) and Diagrams using the below commands.
That’s all. Now we are ready to use Diagrams.
Section 2: How to install Diagrams in Windows OS:
Prerequisites:
- Python 3.6 or higher
- Graphviz (to render the diagram)
Note: In this demo, Windows 10 has been used.
Kindly open a Windows PowerShell session and execute the below mentioned steps.
Step 1 : Check Python Version
Kindly use the below command to check Python version.
Step 2 : Install Graphviz (If it is not pre-installed)
Kindly install Graphviz using the below command.
Step 3 : Install Diagrams via pip(Install pip if it is not pre-installed)
Kindly install Diagrams using the below command.
That’s all. Now we are ready to use Diagrams.