Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

ModuleNotFoundError: No module named 'yaml'

Occurs when importing a module that is not installed.

Reproduce

import yaml

data = {"name": "john"}
print(data)

Error Message

ModuleNotFoundError: No module named 'yaml'

Fix

data = {"name": "john"}
print(data)

Reflection

Tried importing a module without checking if it was available.