From ff36c1363adf2c0b0929cb7f8c1f13ab57e126bc Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Tue, 29 Jan 2019 14:27:12 -0800 Subject: [PATCH] Use --sys-prefix for installing nbextensions --system installs stuff into /etc, and should practically never be used alongside conda / virtualenv. --- docs/howto/admin/enable-extensions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/howto/admin/enable-extensions.rst b/docs/howto/admin/enable-extensions.rst index 3dd5b18..70c103a 100644 --- a/docs/howto/admin/enable-extensions.rst +++ b/docs/howto/admin/enable-extensions.rst @@ -34,7 +34,7 @@ Enabling extensions via the command line .. code-block:: bash - sudo -E jupyter contrib nbextension install --system + sudo -E jupyter contrib nbextension install --sys-prefix #. Then, you will enable the extensions you would like to use. The syntax for this is ``jupyter nbextension enable`` followed by the path to the desired extension's main file. @@ -43,7 +43,7 @@ Enabling extensions via the command line .. code-block:: bash - sudo -E jupyter nbextension enable scratchpad/main --system + sudo -E jupyter nbextension enable scratchpad/main --sys-prefix #. When this is completed, the enabled extension should be visible in the extension list: