pip command to install yaml 5.1.2 code example Example: pip command to install yaml 5.1.2 pip install PyYAML==5.1.2