我的所有 JupyterLab 扩展均被报告为已过时,但我不知道如何使它们保持最新。
当我跑步时jupyter labextension list,我得到:
[automata] ~/Documents/Projects/Coding/Python/automata (master *=) $ jupyter labextension list
JupyterLab v4.0.1
/Users/Rax/Documents/Projects/Coding/Python/venvs/automata/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled X (python, jupyterlab_pygments)
nbdime-jupyterlab v2.2.0 enabled X
jupyter-matplotlib v0.11.3 enabled OK
@jupyterlab/git v0.41.0 enabled X (python, jupyterlab-git)
@jupyter-widgets/jupyterlab-manager v5.0.7 enabled X (python, jupyterlab_widgets)
The following extensions are outdated:
jupyterlab_pygments
nbdime-jupyterlab
@jupyterlab/git
@jupyter-widgets/jupyterlab-manager
Consider running "jupyter labextension update --all" to check for updates.
Run Code Online (Sandbox Code Playgroud)
但跑步jupyter labextension update --all可以给
(Deprecated) Updating extensions with the jupyter labextension update command is now deprecated and will be removed in a future major version of JupyterLab.
Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages
Run Code Online (Sandbox Code Playgroud)
并且没有任何效果。
如何获取并安装最新版本的 JupyterLab 扩展?
运行jupyter --paths给出:
config:
/Users/Rax/.jupyter
/Users/Rax/Library/Python/3.11/etc/jupyter
/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/Users/Rax/Library/Jupyter
/Users/Rax/Library/Python/3.11/share/jupyter
/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/Users/Rax/Library/Jupyter/runtime
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2201 次 |
| 最近记录: |