From 035e9a5eae89ad0bebe1e1feac25877c52a2f0c6 Mon Sep 17 00:00:00 2001 From: afonit Date: Wed, 6 Nov 2019 10:41:42 -0500 Subject: [PATCH] add in python3-dev When following these instructions I had a failure of: ``` In file included from src/docstrings.c:4:0: src/pycurl.h:4:10: fatal error: Python.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ``` To resolve it I needed to install python3-dev --- docs/install/custom-server.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install/custom-server.rst b/docs/install/custom-server.rst index 64fb768..d306202 100644 --- a/docs/install/custom-server.rst +++ b/docs/install/custom-server.rst @@ -45,11 +45,11 @@ Step 1: Installing The Littlest JupyterHub #. Using a terminal program, SSH into your server. This should give you a prompt where you can type commands. -#. Make sure you have ``python3``, ``curl`` and ``git`` installed. +#. Make sure you have ``python3``, ``python3-dev``, ``curl`` and ``git`` installed. .. code:: - sudo apt install python3 git curl + sudo apt install python3 python3-dev git curl #. Copy the text below, and paste it into the terminal. Replace ```` with the name of the first **admin user** for this