Install NumPy Environment
-
Ensure Python 3.10+ is installed (download from python.org if needed).
-
Create a virtual environment:
python -m venv numpy-env
source numpy-env/bin/activate # macOS/Linux
# or numpy-env\Scripts\activate # Windows
- Install NumPy:
pip install numpy jupyter
- Verify installation:
python -c "import numpy as np; print(np.__version__)"
- Launch Jupyter Notebook:
Create a new notebook to test import numpy as np.