import yaml no module named yaml code example Example: ModuleNotFoundError: No module named 'yaml' sudo pip3 install pyyaml