Python Reading

Key Ideas

In-Class Activity

Active Learning

 


Installing Numpy (module only):

 


Installing Anaconda (recommended)

Anaconda is a Python distribution that already includes NumPy and many other useful libraries—so students usually don’t need to install anything extra.

Step 1: Download Anaconda

Go to: https://repo.anaconda.com/archive/

From there:

  1. Scroll to the version you want (usually the latest is fine)
  2. Download the installer directly:
  3. Run the installer normally

Step 2: Install Anaconda

Windows

    1. Double-click the downloaded installer
    2. Click Next → Agree → Next
    3. Choose Just Me (recommended)
    4. Leave settings as default
    5. Click Install

 Mac

    1. Open the downloaded .pkg file (easier to use than .sh)
    2. Click through the installer steps
    3. Install with default settings

Apple Silicon Macs (M1, M2, M3, etc.) Most newer Macs (≈ 2020+) Look for: arm64 or Apple Silicon
Intel Macs Older Macs (pre-2020) Look for: x86_64

Step 3: Open Anaconda Navigator

After installation:

Step 4: Launch Python

Launch:

Step 5: Test NumPy

In your notebook (or Spyder) type:

import numpy as np
print(np.array([1, 2, 3]))

If you see:

[1 2 3]

NumPy is installed and working!


⚠️ Troubleshooting

“It won’t open”

“Navigator is slow”

“Still want to use IDLE?”

Anaconda uses its own Python. If students open IDLE from their system Python, NumPy might not be there.

👉 Best fix: Use Jupyter or Spyder instead.


Teacher, TA Tips