Ravindra BagaleCourses & study guides Track your progress

Guides

Python 3, venv और Jupyter install (Data Science)

Read this guide in: English · मराठी · हिंदी

Python 3 install करो, venv बनाओ, Jupyter और pandas pip install करो (sklearn नहीं), फिर notebook launch करो। यही इस Data Science course का setup lap है।

दोस्तों! टूटी installs weekend खा जाती हैं। आज clean path: Python → venv → packages → Jupyter। खड़े सादे steps। समझा? आख़िर में check।

संक्षिप्त उत्तर

खड़ा install path:

  1. Python 3 install → python3 --version confirm।
  2. Folder: ds-practice।
  3. venv: python3 -m venv ds-env।
  4. venv activate करो।
  5. pip install jupyter pandas openpyxl matplotlib seaborn।
  6. jupyter notebook या jupyter lab → नया notebook → print(1+1)।
Python3 → venv → pip install → Jupyter → first cell

Language: English · मराठी · हिंदी

इस guide से पहले क्या चाहिए?

  • Software install कर सकने वाला computer।
  • Terminal / command prompt की इजाज़त।
  • Course: Install Python 3.

Before और after

Before install No venv and no Jupyter.

Before — no venv, Jupyter not found.

After install venv and Jupyter are ready.

After — ds-env venv and Jupyter running.

Before: venv नहीं, Jupyter missing। After: ds-env active और Jupyter चल रहा।

venv क्यों?

  1. एक project के packages की folder।
  2. Class work system Python से नहीं भिड़ता।
  3. ds-env मिटाकर फिर बना सकते हो।

Step 1 — Python 3

  1. python.org या OS package manager।
  2. Windows पर “Add Python to PATH”.
  3. नया terminal।
  4. python3 --version।

चाहिए: 3.x version string।

Step 2 — Folder + venv

mkdir ds-practice
cd ds-practice
python3 -m venv ds-env

Activate: Linux/macOS source ds-env/bin/activate; Windows ds-env\Scripts\activate.

Step 3 — Packages (sklearn नहीं)

python -m pip install --upgrade pip
pip install jupyter pandas openpyxl matplotlib seaborn

sklearn क्यों नहीं: यह course ML model training नहीं सिखाता।

Step 4 — Jupyter

jupyter notebook

Checks: UI खुले → नया notebook → print(1+1) → 2 → import pandas as pd.

Common problems

Problem Cause Fix
python3: command not found PATH Reinstall; नया terminal
jupyter: command not found venv off Activate या python -​m jupyter notebook
pip गलत जगह Activate भूले Activate; which python
Excel fail openpyxl नहीं venv में install
Port busy पुराना Jupyter बंद करो / दूसरा port

Tiny first notebook

  1. shop_sales.csv — Mumbai 120, Pune 70.
  2. read_csv → sum → 190.

Ravindra Bagale's Tip

python --version और cell में 190 का screenshot रखो। लंबी कहानी से बेहतर proof। समझा?

Practice task

  1. ds-env बनाओ।
  2. Package list (sklearn नहीं)।
  3. Jupyter में import pandas as pd।
  4. Markdown: “Setup done — next DataFrame”.

Samajla ka? Python 3, venv, बिना sklearn packages, Jupyter open, पहला cell green। फिर CSV load। अब आगे चलें।

Frequently asked questions

What is a venv?

A virtual environment: an isolated folder of Python packages so class projects do not break your system Python.

Do I need Anaconda?

Optional. A plain Python + venv + pip path is enough for this course.

Why not install sklearn?

This Data Science course explicitly excludes machine learning model training. Stay with pandas, cleaning, EDA and charts.

jupyter: command not found?

Activate the venv first, or call python -m jupyter notebook.

Windows vs Linux/macOS?

Commands differ for activation paths; Python and pip ideas stay the same. Follow the course setup chapter for screenshots.

Next after install?

Learn Series vs DataFrame, then read_csv.