From e80d001876a8c14dbd46e8a5f8c0d1eaf0e7de1a Mon Sep 17 00:00:00 2001 From: Stephen McDowell Date: Wed, 1 Jun 2022 10:17:16 -0400 Subject: [PATCH] Restore hidden tkinter dependency via matplotlib / pyplot (#17305) Partially reverts #17295. pydrake.systems.planar_scenegraph_visualizer imports matplotlib.pyplot which in turn tries to import tkinter and fails for lack of any other plotting backends being available. --- setup/mac/binary_distribution/Brewfile | 1 + setup/ubuntu/binary_distribution/packages-focal.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/setup/mac/binary_distribution/Brewfile b/setup/mac/binary_distribution/Brewfile index b54b710b1737..d8147e05419e 100644 --- a/setup/mac/binary_distribution/Brewfile +++ b/setup/mac/binary_distribution/Brewfile @@ -25,6 +25,7 @@ brew 'msgpack-cxx' brew 'openblas' brew 'pkg-config' brew 'python@3.9' +brew 'python-tk@3.9' brew 'scipy' brew 'spdlog' brew 'suite-sparse' diff --git a/setup/ubuntu/binary_distribution/packages-focal.txt b/setup/ubuntu/binary_distribution/packages-focal.txt index 428caf5f2ee2..9dc041a49dd6 100644 --- a/setup/ubuntu/binary_distribution/packages-focal.txt +++ b/setup/ubuntu/binary_distribution/packages-focal.txt @@ -58,6 +58,7 @@ python3-pil python3-pydot python3-pygame python3-scipy +python3-tk python3-tornado python3-u-msgpack python3-yaml