現在、Jupyterにて拡張機能[variable inspector]をダウンロードしようとしたのですが
下記のエラーが表示されます。
jupyter lab を起動したら
Build Failed
Build failed with 500, please run 'jupyter lab build' on the server for full output
Dismiss
とポップが表示されます。
ターミナル内で
conda -V
conda 4.10.1
node -v
v14.8.0
jupyter labextension install @lckr/jupyterlab_variableinspector
とすると
[W 2021-06-04 14:15:22.566 LabApp] Build failed, running a clean and rebuild
[I 2021-06-04 14:15:22.583 LabApp] Cleaning /Users/ユーザー名/opt/anaconda3/envs/開発環境/share/jupyter/lab...
[W 2021-06-04 14:15:22.585 ServerApp] 500 POST /lab/api/build?1622783666927 (::1): 'AppOptions' object has no attribute 'extensions'
[W 2021-06-04 14:15:22.585 LabApp] 'AppOptions' object has no attribute 'extensions'
[E 2021-06-04 14:15:22.588 LabApp] {
"Host": "localhost:8891",
"Pragma": "no-cache",
"Accept": "/",
"Authorization": "token 5296eceb0414f918c871bfe67a16c3360d66821759107198",
"X-Xsrftoken": "2|a59e9025|5c8ba339586c5f92d769c65e13658f5e|1622633291",
"Accept-Language": "ja-jp",
"Accept-Encoding": "gzip, deflate",
"Cache-Control": "no-cache",
"Content-Type": "application/json",
"Origin": "http://localhost:8891",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15",
"Referer": "http://localhost:8891/lab",
"Content-Length": "0",
"Connection": "keep-alive",
"Cookie": "username-localhost-8891="2|1:0|10:1622783665|23:username-localhost-8891|44:OGI3YWU2MGVkMTQ0NDllOTg4ZmYxMGI2OWFlNzM2YWU=|e08dca9363c752016c825bbc7ca233cdcb6dcdfeb078dcad63157e7c453ef363"; username-localhost-8890="2|1:0|10:1622781323|23:username-localhost-8890|44:NGU2M2E2OGQ4M2I1NDc3N2IyZjdmNjc5YTNjNmY4MGI=|899e79cf9eb56e42f9e2d6ca6d881b0687b32aee0158726f1a98d6033b4641c5"; username-localhost-8889="2|1:0|10:1622734064|23:username-localhost-8889|44:YjUwNmJjYWEyN2NkNDZhZDhhODFiYmNiMDY4ZGMzODc=|448357ebfb0c87aa5bc8abee7aa5cff66ef8bae58255f558164e1782c81d05bf"; _xsrf=2|a59e9025|5c8ba339586c5f92d769c65e13658f5e|1622633291"
}
**[E 2021-06-04 14:15:22.588 LabApp] 500 POST /lab/api/build?1622783666927 (::1) 55657.79ms referer=http://localhost:8891/lab
**
と表示され、次に % jupyter lab build を実行
[LabBuildApp] JupyterLab 3.0.14
[LabBuildApp] Building in /Users/ogurahidehito/opt/anaconda3/envs/hide-02/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (production, minimized)
**Build failed.
**Troubleshooting: If the build failed due to an out-of-memory error, you
may be able to fix it by disabling the dev_build
and/or minimize
options.
If you are building via the jupyter lab build
command, you can disable
these options like so:
jupyter lab build --dev-build=False --minimize=False
You can also disable these options for all JupyterLab builds by adding these
lines to a Jupyter config file named jupyter_config.py
:
c.LabBuildApp.minimize = False
c.LabBuildApp.dev_build = False
If you don't already have a jupyter_config.py
file, you can create one by
adding a blank file of that name to any of the Jupyter config directories.
The config directories can be listed by running:
jupyter** --paths**
Explanation:
dev-build
: This option controls whether adev
or a more streamlined
production
build is used. This option will default to False
(i.e., the
production
build) for most users. However, if you have any labextensions
installed from local files, this option will instead default to True
.
Explicitly setting dev-build
to False
will ensure that the production
build is used in all circumstances.
minimize
: This option controls whether your JS bundle is minified
during the Webpack build, which helps to improve JupyterLab's overall
performance. However, the minifier plugin used by Webpack is very memory
intensive, so turning it off may help the build finish successfully in
low-memory environments.
An error occured.
RuntimeError: JupyterLab failed to build
See the log file for details: /var/folders/g5/nsg51g851m3__53jy24nhh1c0000gn/T/jupyterlab-debug-8cv0i5ao.log
**おそらく、pass--が通っていないのか、build が関係していると思うのですが、原因がわからず質問させていただきました。
**
あなたの回答
tips
プレビュー