Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 358 Bytes

File metadata and controls

27 lines (17 loc) · 358 Bytes

ModuleNotFoundError: No module named 'numpy'

Occurs when trying to import a module that is not installed.

Reproduce

import numpy as np

print(np.array([1, 2, 3]))

Error Message

ModuleNotFoundError: No module named 'numpy'

Fix

pip install numpy

Reflection

Tried to use a module before installing it.