Occurs when importing a module that is not installed.
import pandas as pd
data = [1, 2, 3]
df = pd.DataFrame(data)
print(df)ModuleNotFoundError: No module named 'pandas'
data = [1, 2, 3]
print(data)Used a library without checking if it was installed.