: Open the Extensions view in VS Code (Ctrl+Shift+X) and search for the Python extension by Microsoft. Step-by-Step Installation Guide 1. Open the Integrated Terminal
VS Code will usually prompt you to use this as your workspace interpreter; click . 3. Install NumPy via Pip
Using a virtual environment keeps your project dependencies isolated and prevents version conflicts with other projects. In the terminal, type: python -m venv .venv . Activate it: : .venv\Scripts\activate . macOS/Linux : source .venv/bin/activate .
Launch VS Code and open your project folder. Open the terminal by: Using the keyboard shortcut (backtick). Or navigating to Terminal > New Terminal in the top menu. 2. (Optional but Recommended) Create a Virtual Environment