kaw*_*vin 7 google-cloud-platform jupyter-lab gcp-ai-platform-notebook
我前段时间创建了一个 GCP AI Platform Notebook 实例,对于我尝试安装的许多扩展,版本似乎太低了。我做了一个pip install upgrade jupyterlab并重新启动了虚拟机实例。当我点击 时OPEN JUPYTERLAB,我发现更新没有生效。
这样做的正确方法是什么?
jupyter设置conda list | grep jupyter
Run Code Online (Sandbox Code Playgroud)
jupyter --paths
Run Code Online (Sandbox Code Playgroud)
sudo service jupyter stop
Run Code Online (Sandbox Code Playgroud)
jupyter使用安装它的安装工具(conda或者pip可能conda)
sudo service jupyter start
Run Code Online (Sandbox Code Playgroud)
sudo service jupyter status
Run Code Online (Sandbox Code Playgroud)
您可能需要编辑一两个配置文件才能使 jupyter 服务器正常工作。截至 2022 年,vertex AI 虚拟机通过 linux 运行 jupyter service。检查sudo service jupyter status虚拟机如何启动 jupyter 服务器。我懂了/opt/conda/bin/python3.7 /opt/conda/bin/jupyter-lab --config=/home/jupyter/.jupyter/jupyter_notebook_config.py。根据您在 中看到的内容status,您可能需要编辑该文件或其他内容(例如,在 中显示的文件之一中jupyter --paths)。
| 归档时间: |
|
| 查看次数: |
616 次 |
| 最近记录: |