You are not logged in.

#1 2024-01-26 04:59:15

brianstamper
Member
Registered: 2021-02-27
Posts: 15

jupyter lab paths

Closely related to this recent question [solved] Unable to use jupyter-nbextension about following the wiki on setting up Jupyter Notebook to install extensions under the current user with "--user", the very next piece of advice reads:

To do the same for installation of JupyterLab extensions, set the following environment variable:

  JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab

and verify it by running jupyter lab paths.

Well, this also may be out of date advice, as that didn't seem to work:

[23:24 brian] jupyter lab paths
Application directory:   /usr/share/jupyter/lab
User Settings directory: /home/brian/.jupyter/lab/user-settings
Workspaces directory: /home/brian/.jupyter/lab/workspaces
[23:25 brian] JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
[23:25 brian] jupyter lab paths
Application directory:   /usr/share/jupyter/lab
User Settings directory: /home/brian/.jupyter/lab/user-settings
Workspaces directory: /home/brian/.jupyter/lab/workspaces
[23:25 brian] echo $JUPYTERLAB_DIR
/home/brian/.local/share/jupyter/lab

I tried looking in Jupyter documentation about setting this and what I found looks much more complex. Any suggestions? BTW I'm not actually currently trying to install any such extensions, just wanting to follow the advice so it isn't forgotten later if I do, but should I maybe just be ignoring this step until that should happen to come up?

Last edited by brianstamper (2024-01-26 05:01:25)

Offline

Board footer

Powered by FluxBB