To use NumPy, you'll need Python installed. If you're working on your local machine, run pip install numpy from your terminal/command prompt. If you don't want to set anything up yet, you can try it directly in a code cell on Google Colab — NumPy usually comes preinstalled there.
# Check Python version
python --version
# Install NumPy
pip install numpy
# If your system uses pip3
pip3 install numpypython --version checks whether Python is installed. pip install numpy installs the NumPy package. Use command prompt on Windows, or terminal on macOS/Linux.
Successfully installed numpy-...Info
Using a virtual environment for each project keeps your package versions from getting tangled up. Pick up this good habit early so you don't run into dependency conflicts on your data projects.