First Step
Python Installation on Windows — Step by Step
Step 1: Download Python
- Visit Python Official Download Page.
- Download the latest stable Python 3 version compatible with your Windows PC.
- Open the downloaded installer.
Step 2: Install Python
For the traditional Windows installer:
- Check Add python.exe to PATH (if available).
- Click Install Now.
- Wait until installation completes.
- Click Close.
Step 3: Verify Python Installation
Press Win + R, type cmd, and press Enter.
Run:
python --version
Also check pip:
python -m pip --version
create a folder
then create virtual env
python -m venv venv
active it
.\venv\Scripts\Activate.ps1
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\venv\Scripts\Activate.ps1