I am using Windows and I had the same problem. The LPTHW book is based on Linux, and it's a little complicated for Windows users. When I printed the media, I had errors. Then I typed python -m nose, as Spellstaker said, and it worked perfectly. I noticed that in most cases we need to add "python -m" first so that it works on Windows. 
source share