From b5c79abccab139ff29194038dd67e493faa5a9ef Mon Sep 17 00:00:00 2001 From: Paran Lee Date: Mon, 12 Jul 2021 11:22:09 +0900 Subject: [PATCH] SERVER-58817 Direct users to install python-dev-is-python3 on Ubuntu The `python3.7-dev` package is no more. ``` $ sudo apt install python3.7-dev ... E: Unable to locate package python3.7-dev E: Couldn't find any package by glob 'python3.7-dev' ``` We should direct the user to install python-dev-is-python3 instead: ``` $ apt search python-dev-is-python3 Sorting... Done Full Text Search... Done python-dev-is-python3/focal,now 3.8.2-4 all [installed] symlinks /usr/bin/python-config to python3-config ``` Closes #1407 Signed-off-by: Ryan Egesdahl --- docs/building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/building.md b/docs/building.md index 2f1fe5e34b9..1c718afd5ff 100644 --- a/docs/building.md +++ b/docs/building.md @@ -58,7 +58,7 @@ Note: In order to compile C-based Python modules, you'll also need the Python and OpenSSL C headers. Run: * Fedora/RHEL - `dnf install python3-devel openssl-devel` -* Ubuntu/Debian - `apt-get install python3.7-dev libssl-dev` +* Ubuntu/Debian - `apt install python-dev-is-python3 libssl-dev` SCons