Vs Code
Vs Code
Run:
Run:
🔹 Note: Replace venv with any name you want for your virtual environment.
On Windows
Command Prompt (cmd)
venv\Scripts\activate
PowerShell
venv\Scripts\Activate.ps1
On macOS/Linux
source venv/bin/activate
After activation, you’ll see (venv) in the terminal, indicating that the virtual environment is
active.
python --version
You should see the Python version from your virtual environment.
Common Issues & Fixes
Run:
python -m ensurepip --default-pip