質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.49%
Jupyter

Jupyter (旧IPython notebook)は、Notebook形式でドキュメント作成し、プログラムの記述・実行、その実行結果を記録するツールです。メモの作成や保存、共有、確認などもブラウザ上で行うことができます。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

Q&A

解決済

1回答

14315閲覧

@lckr/jupyterlab_variableinspector のインストール

satoshi_1

総合スコア6

Jupyter

Jupyter (旧IPython notebook)は、Notebook形式でドキュメント作成し、プログラムの記述・実行、その実行結果を記録するツールです。メモの作成や保存、共有、確認などもブラウザ上で行うことができます。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

0グッド

0クリップ

投稿2021/07/10 16:14

編集2021/07/10 18:33

versions

jupyter-core 4.7.1
jupyter lab 3.0.16
conda version : 4.10.3
node 14.17.3
npm 6.14.13

jupyter labを新しく使用したいと考えjupyter notebookから移行しようとしている者です。
他の拡張機能は問題なく使えております。

便利な@lckr/jupyterlab_variableinspectorをインストールしようと思うのですが

jupyter labextension install @lckr/jupyterlab_variableinspector

を実行すると

(base) matsusesatoshi@matsusesatoshinoMacBook-puro ~ % jupyter labextension install @lckr/jupyterlab_variableinspector Building jupyterlab assets (production, minimized) An error occured. RuntimeError: JupyterLab failed to build See the log file for details: /var/folders/ll/cdp3xh194t7_9c631lm07yx00000gn/T/jupyterlab-debug-0an40nwu.log

といったエラーではじかれてしまします。

試したことは
node,npmの再インストール
jupyter, jupyter-core の再インストール
build_config.jsonの削除及び再インストール

インターネットで検索し、できそうなことは試したのですが何がいけないのでしょうか...
ご回答あるいは、ほかの似たような拡張機能を知ってらっしゃったら教えていただけると嬉しいです。

logの内容でエラーを吐いている内容は下に記します。

ERROR in resolving fallback for shared module @lckr/jupyterlab_variableinspector Module not found: Error: Can't resolve '@lckr/jupyterlab_variableinspector' in '/opt/anaconda3/share/jupyter/lab/staging/build' resolve '@lckr/jupyterlab_variableinspector' in '/opt/anaconda3/share/jupyter/lab/staging/build' Parsed request is a module using description file: /opt/anaconda3/share/jupyter/lab/staging/build/package.json (relative path: .) Field 'browser' doesn't contain a valid alias configuration resolve as module /opt/anaconda3/share/jupyter/lab/staging/build/node_modules doesn't exist or is not a directory looking for modules in /opt/anaconda3/share/jupyter/lab/staging/node_modules single file module using description file: /opt/anaconda3/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector) no extension Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file .js Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist existing directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: .) using description file: /opt/anaconda3/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector) no extension Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file .js Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist as directory existing directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: .) use ./lib/index.js from main in package.json using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: ./lib/index.js) no extension Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.wasm doesn't exist as directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js doesn't exist using path: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: ./index) no extension Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.wasm doesn't exist /opt/anaconda3/share/jupyter/lab/node_modules doesn't exist or is not a directory /opt/anaconda3/share/jupyter/node_modules doesn't exist or is not a directory /opt/anaconda3/share/node_modules doesn't exist or is not a directory /opt/anaconda3/node_modules doesn't exist or is not a directory /opt/node_modules doesn't exist or is not a directory /node_modules doesn't exist or is not a directory webpack 5.31.2 compiled with 1 error and 1 warning in 25282 ms JupyterLab failed to build Traceback (most recent call last): File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging yield File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 133, in start build(clean_staging=self.should_clean, File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/commands.py", line 469, in build return handler.build(name=name, version=version, static_url=static_url, File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/commands.py", line 678, in build raise RuntimeError(msg) RuntimeError: JupyterLab failed to build Exiting application: lab

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

私もインストールできずに困っていたのですが、下記のようにバージョン3.0.7を指定してやったところインストールできました。

sh

1jupyter labextension install @lckr/jupyterlab_variableinspector@3.0.7

バージョン指定せずに実行すると、バージョン3.0.9 をインストールしようとするのですが、ダウンロードされるファイルの中身が足りていないように見えます。
githubの公式ページを見ても、3.0.9というバージョンが正式にリリースされているものなのかが、よくわからないです。

投稿2021/07/13 00:37

bsdfan

総合スコア4560

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

satoshi_1

2021/07/13 07:21

bsdfan様 ご回答ありがとうございます。 記載していただいたversionにて問題なくインストール及び使用ができました。 非常に困っていたので助かりました。 ありがとうございました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.49%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問