How to run jupyter notebook?
⚡ Steps to Run Jupyter Notebook
1. Install Python (if not already installed)
-
Download & install from: Python.org
-
Make sure to check "Add Python to PATH" during installation (important for Windows).
2. Install Jupyter Notebook
Open a terminal (Command Prompt / PowerShell / Terminal on Mac/Linux) and run:
pip install notebook
3. Launch Jupyter Notebook
Navigate to the folder where you saved your .ipynb
files (like numpy_pandas_practice.ipynb
) and run:
jupyter notebook
👉 This will open Jupyter in your web browser at http://localhost:8888
.
4. Open Your Notebook
-
In the browser, click on your
.ipynb
file. -
It will open with cells (code blocks + text).
-
Press Shift + Enter to run a code cell.
5. Recommended (Better Option: JupyterLab or VS Code)
-
You can install JupyterLab (modern interface):
pip install jupyterlab jupyter lab
-
Or use Visual Studio Code with the Jupyter extension (best if you already use VS Code).
No comments