Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 400 Bytes

File metadata and controls

32 lines (20 loc) · 400 Bytes

ModuleNotFoundError: No module named 'pandas'

Occurs when importing a module that is not installed.

Reproduce

import pandas as pd

data = [1, 2, 3]
df = pd.DataFrame(data)

print(df)

Error Message

ModuleNotFoundError: No module named 'pandas'

Fix

data = [1, 2, 3]

print(data)

Reflection

Used a library without checking if it was installed.