pydrake.tutorials

Drake offers Python tutorials that can be previewed and executed as Jupyter notebooks online with no need for local installation. To run Drake’s tutorials online, refer to the Drake Tutorials website.

Alternatively, to run Drake’s tutorials locally from an installed copy of Drake, run python3 -m pydrake.tutorials to launch a Jupyter browser.

Be sure your PYTHONPATH has been set per the installation instructions, e.g., via source env/bin/activate in the pip instructions.

If you haven’t done so already, you’ll also need to install the Jupyter notebook package on your system:

  • For pip or macOS, use: pip install notebook.

  • For Ubuntu, use sudo apt-get install jupyter-notebook.