2
2

More than 3 years have passed since last update.

JupyterLabの拡張機能を一斉アップデートしたらjupyterlab-gitが消えた

Posted at

JupyterLabをアップデートしたところ、拡張機能のアップデートを求められたので言われるままそうしたところjupyterlab-gitが左のメニューバーから消えた。

jupyterlab-gitのGitHubのTroubleshootingに書いてある通りに

$ jupyter serverextension list
$ jupyter labextension list

を実行すると、こちらの記事と同じエラーが発生していたため、バグの元になっているjsonファイルを消去。

さらに、serverextensionとlabextensionのversionは同じでないといけないのですが、現在labextensionのv0.21.0が出ているようで、JupyterLab上でlabextensionをインストールするとserverextensionの最新版v0.20.0とバージョンが異なる状況になってしまいます。

そこで

$ jupyter labextension uninstall @jupyterlab/git
$ jupyter labextension install @jupyterlab/git@0.20.0

としてバージョンを揃えてあげて再ビルドしたところ直りました。
疲れた……

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2