You can resolve the error “No module named NumPy” with the following code. This error arises when the NumPy library is not installed. If you want to learn Python, I highly recommend reading This Book.
pip install numpy
If you are using Jupyter Notebook, then use this code to resolve this error.
!pip install numpy