Installing Python Packages for DSE200x with pip

| python |

Python for Data Science is an introductory course that provides an overview of various tooling that exists in the python world that is useful for data science purposes.

This includes things like:

The course provides an excellent overview to python, and suggests using anaconda which is a distribution of python geared toward data science purposes. Although this is a great way to get started with python if you have never used it before, installing multiple versions of python (which this approach would do) can be quite a pain to manage long term. This is especially true if you use python for other purposes such as web development with flask or django.

If you try to work through some of the jupyter notebooks that are presented in the course without installing anaconda, you will often see error messages like this:

---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in
1 get_ipython().run_line_magic('matplotlib', 'inline')
2 import numpy as np
----> 3 from scipy import misc
4 import matplotlib.pyplot as plt

ModuleNotFoundError: No module named 'scipy'

The solution is of course to install the package that is missing. In the example above we can install the missing package with pip3 install scipy.

You can use the one liner below to install all of the required packages for the course in one go. Note, this assumes you already have python3 and pip3 installed on your computer.

pip3 install jupyter pandas numpy scipy matplotlib imageio folium

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Pluralistic: A year in illustration (2025 edition) (03 Dec 2025)

Today's links A year in illustration (2025 edition): I think I'm getting the hang of this? Hey look at this: Delights to delectate. Object permanence: HADOPI is born; Tea Party wants to disenfranchise renters; How to kill TPP; Mozilla ejects Thund…

via Pluralistic: Daily links from Cory Doctorow December 3, 2025

Hank Green And The Fantastical Tales of God AIs

Hank Green And The Fantastical Tales of God AIs AI Doomerism is a Decoy: Yet the supposed AI apocalypse remains science fiction. “A fantastical, adrenalizing ghost story is being used to hijack attention around what is the problem that regulation needs to s…

via notebook from jason December 3, 2025

On the Move

Mike Peel; Jodrell Bank Centre for Astrophysics, University of Manchester The Lovell Radio Telescope at Jodrell Bank Observatory, near Goostrey, Cheshire, England. If you ever feel like you are constantly on the move, that’s because you are. And not only in…

via Brian Koberlein December 3, 2025

Generated by openring