You can install Python directly from python.org. For an Excel user with no programming background, that path leads to lots of head-scratching. Anaconda is a free bundled installer made by a data-science company. Click one button, wait ten minutes, and you have:
If you've already installed Python a different way and it's working, you can skip this lesson. Otherwise, use Anaconda.
Open https://www.anaconda.com/download in your browser.
You may be asked for an email. You can skip that and click "Download" directly.
The page detects your OS automatically. Confirm it's right (Windows, macOS, or Linux) and choose the 64-bit installer. If you have a recent Mac with an M-series chip, pick the Apple Silicon version.
Double-click the downloaded file. Click "Continue" / "Next" through every screen. The defaults are correct for what you need.
On Windows, when asked, leave "Add Anaconda to my PATH environment variable" unchecked (Anaconda's own recommendation). We'll use the Anaconda Prompt for command-line work.
The install takes 5–10 minutes and uses about 3 GB of disk space.
On Mac: open Launchpad and find Anaconda-Navigator.
On Windows: hit the Start menu and search for Anaconda Navigator.
The Navigator is a friendly home screen for everything Anaconda installed. Take a look around. The "Home" tab shows tiles for tools you can launch — Jupyter Notebook, JupyterLab, Spyder, etc.
Click the green Launch button under Jupyter Notebook. Your browser will open with a file-browser view. Click New → Python 3 (ipykernel) to make a new notebook.
In the first cell, type:
print("Python is alive!")
Hold Shift and press Enter. You should see Python is alive! printed below the cell. 🎉
Make a new cell (click the + button) and run:
import pandas as pd
print(pd.__version__)
You should see a version number like 2.2.2. That means pandas is installed and importable. You're done.
In a new notebook cell, run:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
print("All three are installed!")
If you see "All three are installed!" with no red error, you're ready for the rest of the course.