Installing Python Packages for DSE200x with pip
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:
- Jupyter Notebooks
- The numpy library
- The scipy library
- The pandas library
- The matplotlib library
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
- 2025 Reading Log
- 3 packs
- Growing the CircleCI Community with Discourse
- My Custom Miniflux CSS Theme
- Sacramento Then and Now
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- Grow, Like a Tree Not a Cancer from Jim Nielsen’s Blog
- Pluralistic: All the books I reviewed in 2025 (02 Dec 2025) from Pluralistic: Daily links from Cory Doctorow
- DEP-18: A proposal for Git-based collaboration in Debian from Optimized by Otto
- [RIDGELINE] No Phones in The Ten-don Shop from Craig Mod — Writer + Photographer
- My next chapter with Mastodon from Mastodon Blog
- How many pillars of observability can you fit on the head of a pin? from charity.wtf
- The Software Essays that Shaped Me from Refactoring English
- Give Your Spouse the Gift of a Couple's Email Domain from mtlynch.io
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, 2025Hank 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, 2025On 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, 2025Generated by openring