Error "Import Error: No module named numpy" on Windows

This error message indicates that the Python interpreter is unable to find the numpy module, which is likely because it is not installed on your system. To install numpy, you can use pip, the package installer for Python, by running the following command in your command prompt or terminal:

pip install numpy

You may need to use pip3 instead of pip if you are using python3

Watch a course Python - The Practical Guide

Additionally, you can also try installing numpy using Anaconda Prompt if you have anaconda installed by running the command:

conda install numpy

Once numpy is installed, you should be able to import it in your Python script without any errors.

import numpy as np

Please make sure you have the latest version of pip and python installed in your system.