![見出し画像](https://assets.st-note.com/production/uploads/images/73404325/rectangle_large_type_2_bcbec7c50e7adb1e61668f46deaccb69.png?width=1200)
Photo by
ursaminor
jupyterLab の Variable inspector をインストール
背景:めっちゃ失敗した
AnacondaのjupyterLabで,何か有名なVariable inspectorをインストールしようとしたが沢山失敗しました。PCは,Windowsです。
沢山失敗したので記録として。同じ人の助けになればと思います。
・AnacondaのjupyterLabの拡張機能からインストール
・jupyterLabのnotebookからインストール ←これはそもそもムリ
・Windowsのコマンドプロンプトからインストール
・その他諸々
対策手順(本編)
結局,Anacondaをアンインストールしてから,再インストールを行い。
![](https://assets.st-note.com/img/1646220549361-INCy824OVQ.png?width=1200)
インストールの際に,この2つを選択。
選択しない場合はパスが通ってないのか,condaコマンドが使えない。
Anacondaのインストールが完了したら,Windowsならコマンドプロンプト(一応管理者権限で)を開いて,
conda install -c conda-forge nodejs
を入力。
その後,同じくコマンドプロンプトで
jupyter labextension install @lckr/jupyterlab_variableinspector
を入力する。jupyterLabのノートブックではできないので注意!
もしそれでもダメだったら,
jupyter labextension install @lckr/jupyterlab_variableinspector@3.0.7
jupyter Labを起動したらVariable inspectorを使えるようになった。
jupyter labextension list
でjupyter Labの拡張機能一覧を確認してもしっかり入ってた。
以上です!
おまけ
Anaconda Prompt (Anacondaのコマンドプロンプト的なヤツ) を開いて,
conda install -c conda-forge jupyterlab-variableinspector
を入力してもできるようです。(実際にしてはないですが)
おまけ2
jupyter labextension list
の一覧表示で
Disabled extensions:(無効な拡張機能)
の下に
@lckr/jupyterlab_variableinspector
があると失敗になりますので,お気を付けを