1. Installation

The d2lbook package is tested under macOS and Linux. (You are welcome to contribute a Windows release).

First make sure you have pip available. In option, we recommend conda for libraries that pip doesn’t support.

Now install the command-line interface.

pip install git+https://github.com/d2l-ai/d2l-book

This is a d2lbook pip package, but we recommend you to install latest version at Github directly since it’s under fast developing.

To build HTML results, we need pandoc. You can install it through conda install pandoc.

Building the PDF version requires LibRsvg to convert your SVG images (our recommend format), e.g. conda install librsvg, and of course, you need to have a LaTeX distribution, e.g. Tex Live, available,