Learn Python the Hard Way Errata

This page contains errata, updates, hot fixes and additional instructions for people who have purchased the paper or PDF version of the book from another seller. If you've purchased the course from this website then you already have these updates and don't need to be here. Simply log into your account and you'll have these fixes.

Getting Help

If you need help you can always email help@learncodethehardway.com and I'll help you. You can also register for the free support course on this site to get access to the chat and additional videos to help you.

Python Setup Instructions

Coming Soon... These instructions will explain in great detail how to setup your python programming environment for your computer.

Errata and Changes

Here is the latest list of necessary fixes and errata since the release of the book in order. This means if you have an older book, then start at the top. If you have a newer book then scroll farther down the list. You can also use ctrl-f (cmd-f on mac) to search for your problem.

Ex40: libmamba Problem type not implemented

If you get this error warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY then you have to run conda update -n conda to get the latest. If that doesn't solve it then you're screwed. That package you're trying to solve is triggering an infuriating bug in conda or libmamba that nobody seems to be able to solve. Welcome to software.

Additional Download Data

In the book there are references to data from the US ATF regarding beer statistics, and the Euro Central Bank (ECB), but sometimes the data moves or is discontinued. To solve that problem you can find my backup of the data for you to use.

US TTB Beer Statistics

You can access a small number of PDFs I salvaged from the US ATF TTB after they removed them. Visit my TTB Data Page for PDFs and .xlsx files. These were taken from archive.org and represent Oct, Nov, Dec in 2021. They will work for the book's content.

The Euro Central Bank seems to be very good about letting people download their data (unlike the TTB) but if they do remove it, you can visit my ECB Data Page to get the data I downloaded on Dec 24, 2023.