Step 1: Install Python
1. Go to the official Python website: https://www.python.org/downloads/
2. Download the latest stable version (e.g., Python 3.12.x).
3. Run the installer:
o ✅ Check “Add Python to PATH” before clicking Install.
o Select Install Now.
4. After installation, verify Python is installed:
5. python --version
or
python3 --version
Step 2: Install pip (if not installed)
Most Python versions include pip by default. Check with:
pip --version
If missing, install using:
python -m ensurepip --upgrade
Step 3: Install Jupyter Notebook
Use pip to install Jupyter:
pip install notebook
Launch Jupyter Notebook:
jupyter notebook
A browser window will open at http://localhost:8888 where you can create and run
notebooks.
Step 4: Install Common Required Libraries
Depending on your work (Machine Learning, Data Science, etc.), install these essential libraries:
pip install numpy pandas matplotlib seaborn scikit-learn scipy mlxtend
pip install jupyterlab
For deep learning (optional):
pip install tensorflow keras torch torchvision torchaudio
Step 5: Verify Installation
Open a Jupyter Notebook and run:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import sklearn
import mlxtend
If no error appears ✅, everything is ready.