Occurs when importing a module that is not installed.
import yaml
data = {"name": "john"}
print(data)ModuleNotFoundError: No module named 'yaml'
data = {"name": "john"}
print(data)Tried importing a module without checking if it was available.
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Occurs when importing a module that is not installed.
import yaml
data = {"name": "john"}
print(data)ModuleNotFoundError: No module named 'yaml'
data = {"name": "john"}
print(data)Tried importing a module without checking if it was available.