Ravindra BagaleCourses & study guides मराठी Track your progress

2. Setup: Python, Jupyter, and Packages

Data Science

2.1 Confirm Python (full install is in py01)

Why. This course needs Python 3.10+. Long install steps for Windows and Mac now live in one place so Chapter 2 stays short.

What. Here you only confirm Python and pip. The full guide is How to Install Python, Jupyter Notebook and VS Code for Data Science (Windows and Mac).

How.

Steps — confirm Python

  1. If you have not installed Python yet, open py01 and finish the install section first.
  2. Open a terminal (Command Prompt, PowerShell or bash).
  3. Run python --version or python3 --version.
  4. Confirm you see Python 3.10 or newer.
  5. Run python -m pip --version (or python3 -m pip --version).

What you should see. A line like Python 3.12.x and a pip version. If python fails, try python3.

Small example — print the version from Python itself

import sys
print(sys.version)

Output you should see (example). A long version line starting with 3.12 or similar. That proves the interpreter you launched is the one you think it is.

Ravindra Bagale's Tip

Many students have several Python installs and use the wrong pip. Always run python -m pip install … so packages go into the same Python you run.

Next: create the course folder and venv → 2.2 Project Folder and venv.