I created a GCP AI Platform Notebook instance a while ago, and the version seemed to be too low for many extensions I am trying to install.
I did a pip install upgrade jupyterlab
and restarted the VM instance.
When I clicked on OPEN JUPYTERLAB
, I found that the update did not take effect.
What's the correct way of doing this?
1 check how
jupyter
is set up2 stop the jupyter server with (as of 2022...)
3 update
jupyter
using the installation tool (
conda
orpip
, probablyconda
) that installed it4 start jupyter
5 check its status
note
you might have to edit a config file or two to make the jupyter server work. As of 2022, the vertex AI VMs run jupyter via the linux
service
thing. Checksudo service jupyter status
to see how the VM is launching the jupyter server. I see/opt/conda/bin/python3.7 /opt/conda/bin/jupyter-lab --config=/home/jupyter/.jupyter/jupyter_notebook_config.py
. depending on what you see instatus
, you might have to edit that file or something else (e.g. in one of the files revealed byjupyter --paths
).source: Troubleshooting Vertex AI Workbench