jupyterlab-variableInspector
jupyterlab-variableInspector copied to clipboard
Fails to install in Windows 10 via pip or `jupyter labextension install`
I'm currently running jupyterlab 3.0.13 on windows 10 (installed via pip).
When installing via pip install lck-jupyterlab-variableinspector
the package installs successfully, however does not show up in the extensions list inside of jupyterlab.
Running pip show lck-jupyterlab-variableinspector
returns this location:
c:\users\me\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages
I also attempted to navigate to the package directory and run jupyter labextension build
. This results in a similar error to the one below.
Attempting to install via jupyter labextension install @lckr/jupyterlab_variableinspector
or installing through the jupyterlab web interface will fail on build with the following log:
Node v14.16.0
Yarn configuration loaded.
> "C:\Program Files\nodejs\npm.CMD" pack @lckr/jupyterlab_variableinspector
npm notice
npm notice package: @lckr/[email protected]
npm notice === Tarball Contents ===
npm notice 1.5kB LICENSE
npm notice 0 style/base.css
npm notice 1.3kB style/index.css
npm notice 21B style/index.js
npm notice 2.6kB package.json
npm notice 4.0kB README.md
npm notice === Tarball Details ===
npm notice name: @lckr/jupyterlab_variableinspector
npm notice version: 3.0.9
npm notice filename: lckr-jupyterlab_variableinspector-3.0.9.tgz
npm notice package size: 3.9 kB
npm notice unpacked size: 9.5 kB
npm notice shasum: 1c922fa2fd13c5ab0fe365f1a5bad69869887811
npm notice integrity: sha512-o0kx+iDORrxaN[...]6qvwpD8dLit3w==
npm notice total files: 6
npm notice
lckr-jupyterlab_variableinspector-3.0.9.tgz
Fetching URL: https://registry.yarnpkg.com/@lckr%2Fjupyterlab_variableinspector
> "C:\Program Files\nodejs\npm.CMD" pack @lckr/[email protected]
npm notice
npm notice package: @lckr/[email protected]
npm notice === Tarball Contents ===
npm notice 1.5kB LICENSE
npm notice 0 style/base.css
npm notice 1.3kB style/index.css
npm notice 21B style/index.js
npm notice 2.6kB package.json
npm notice 4.0kB README.md
npm notice === Tarball Details ===
npm notice name: @lckr/jupyterlab_variableinspector
npm notice version: 3.0.9
npm notice filename: lckr-jupyterlab_variableinspector-3.0.9.tgz
npm notice package size: 3.9 kB
npm notice unpacked size: 9.5 kB
npm notice shasum: 1c922fa2fd13c5ab0fe365f1a5bad69869887811
npm notice integrity: sha512-o0kx+iDORrxaN[...]6qvwpD8dLit3w==
npm notice total files: 6
npm notice
lckr-jupyterlab_variableinspector-3.0.9.tgz
Node v14.16.0
Yarn configuration loaded.
Building jupyterlab assets (production, minimized)
> node C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jupyterlab\staging\yarn.js install --non-interactive
yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.35s.
> node C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jupyterlab\staging\yarn.js yarn-deduplicate -s fewer --fail
yarn run v1.21.1
$ C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\.bin\yarn-deduplicate -s fewer --fail
Done in 0.25s.
> node C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jupyterlab\staging\yarn.js run build:prod:minimize
yarn run v1.21.1
$ webpack --config webpack.prod.minimize.config.js
assets by status 10.1 MiB [1m[32m[cached][39m[22m 115 assets
orphan modules 4.72 MiB [1m[33m[orphan][39m[22m 1253 modules
runtime modules 104 KiB 14 modules
built modules 13.4 MiB (javascript) 4.47 KiB (consume-shared) 4.43 KiB (share-init) [1m[33m[built][39m[22m
modules by path [1m./node_modules/[39m[22m 13.3 MiB
cacheable modules 13.3 MiB 973 modules
3 modules
consume-shared-module modules 4.47 KiB
modules by path [1mconsume shared module (default) @jupyterlab/[39m[22m 3.53 KiB 41 modules
modules by path [1mconsume shared module (default) @lumino/[39m[22m 588 bytes 14 modules
provide-module modules 4.43 KiB 108 modules
modules by path [1m./build/[39m[22m 23.4 KiB
[1m./build/bootstrap.js[39m[22m 3.78 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
[1m./build/index.out.js + 1 modules[39m[22m 19.6 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
4 modules
[1m[33mWARNING[39m[22m in [1m./node_modules/vega-lite/build/src/index.js[39m[22m [1m[32m5:0-30[39m[22m
[1mShould not import the named export 'version' (reexported as 'version') from default-exporting module (only default export is available soon)[39m[22m
@ consume shared module (default) vega-lite@^4.0.2 (strict) (fallback: ./node_modules/vega-lite/build/src/index.js)
@ ./node_modules/vega-embed/build/vega-embed.module.js 6:0-44 189:15-29
@ consume shared module (default) vega-embed@^6.2.1 (strict) (fallback: ./node_modules/vega-embed/build/vega-embed.module.js)
@ ./node_modules/@jupyterlab/vega5-extension/lib/index.js 166:28-48
@ consume shared module (default) @jupyterlab/vega5-extension@~3.0.6 (strict) (fallback: ./node_modules/@jupyterlab/vega5-extension/lib/index.js)
@ ./build/index.out.js 171:16-54
@ ./build/bootstrap.js
[1m[31mERROR[39m[22m in [1m[32mresolving fallback for shared module @lckr/jupyterlab_variableinspector[39m[22m
[1mModule [1m[31mnot found[39m[22m[1m: [1m[31mError[39m[22m[1m: Can't resolve '@lckr/jupyterlab_variableinspector' in 'C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\build'[39m[22m
resolve '@lckr/jupyterlab_variableinspector' in 'C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\build'
Parsed request is a module
using description file: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\build\package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\build\node_modules doesn't exist[39m[22m or is not a directory
looking for modules in C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules
single file module
using description file: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector is not a file
.js
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist[39m[22m
.json
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist[39m[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist[39m[22m
existing directory C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector
using description file: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: .)
using description file: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector is not a file
.js
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist[39m[22m
.json
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist[39m[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist[39m[22m
as directory
existing directory C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector
using description file: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\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: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\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
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js doesn't exist[39m[22m
.js
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.js doesn't exist[39m[22m
.json
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.json doesn't exist[39m[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.wasm doesn't exist[39m[22m
as directory
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js doesn't exist[39m[22m
using path: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index
using description file: C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\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
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index doesn't exist[39m[22m
.js
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.js doesn't exist[39m[22m
.json
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.json doesn't exist[39m[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.wasm doesn't exist[39m[22m
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\lab\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\share\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\Local\Packages\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\Local\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\Users\me\AppData\node_modules doesn't exist[39m[22m or is not a directory
looking for modules in C:\Users\me\node_modules
single file module
No description file found in C:\Users\me\node_modules\@lckr or above
no extension
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\node_modules\@lckr\jupyterlab_variableinspector doesn't exist[39m[22m
.js
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist[39m[22m
.json
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist[39m[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
[1m[31mC:\Users\me\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist[39m[22m
[1m[31mC:\Users\me\node_modules\@lckr\jupyterlab_variableinspector doesn't exist[39m[22m
[1m[31mC:\Users\node_modules doesn't exist[39m[22m or is not a directory
[1m[31mC:\node_modules doesn't exist[39m[22m or is not a directory
webpack 5.31.0 compiled with [1m[31m1 error[39m[22m and [1m[33m1 warning[39m[22m in 21178 ms
asset [1m[32mindex.css[39m[22m 16.1 KiB [1m[33m[compared for emit][39m[22m (name: index)
asset [1m[32mindex.js[39m[22m 0 bytes [1m[33m[compared for emit][39m[22m [1m[32m[minimized][39m[22m (name: index)
Entrypoint [1mindex[39m[22m 16.1 KiB = [1m[32mindex.css[39m[22m 16.1 KiB [1m[32mindex.js[39m[22m 0 bytes
[1m./node_modules/@jupyterlab/theme-dark-extension/style/index.css[39m[22m 50 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
css ./node_modules/css-loader/dist/cjs.js![1m./node_modules/@jupyterlab/theme-dark-extension/style/variables.css[39m[22m 15.3 KiB [1m[33m[code generated][39m[22m
css ./node_modules/css-loader/dist/cjs.js![1m./node_modules/@jupyterlab/theme-dark-extension/style/base.css[39m[22m 472 bytes [1m[33m[code generated][39m[22m
css ./node_modules/css-loader/dist/cjs.js![1m./node_modules/@jupyterlab/theme-dark-extension/style/index.css[39m[22m 342 bytes [1m[33m[code generated][39m[22m
webpack 5.31.0 compiled [1m[32msuccessfully[39m[22m in 926 ms
asset [1m[32mindex.css[39m[22m 15 KiB [1m[33m[compared for emit][39m[22m (name: index)
asset [1m[32mindex.js[39m[22m 0 bytes [1m[33m[compared for emit][39m[22m [1m[32m[minimized][39m[22m (name: index)
Entrypoint [1mindex[39m[22m 15 KiB = [1m[32mindex.css[39m[22m 15 KiB [1m[32mindex.js[39m[22m 0 bytes
[1m./node_modules/@jupyterlab/theme-light-extension/style/index.css[39m[22m 50 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
css ./node_modules/css-loader/dist/cjs.js![1m./node_modules/@jupyterlab/theme-light-extension/style/variables.css[39m[22m 14.2 KiB [1m[33m[code generated][39m[22m
css ./node_modules/css-loader/dist/cjs.js![1m./node_modules/@jupyterlab/theme-light-extension/style/base.css[39m[22m 472 bytes [1m[33m[code generated][39m[22m
css ./node_modules/css-loader/dist/cjs.js![1m./node_modules/@jupyterlab/theme-light-extension/style/index.css[39m[22m 342 bytes [1m[33m[code generated][39m[22m
webpack 5.31.0 compiled [1m[32msuccessfully[39m[22m in 1063 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
JupyterLab failed to build
Traceback (most recent call last):
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
yield
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jupyterlab\labextensions.py", line 133, in start
build(clean_staging=self.should_clean,
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jupyterlab\commands.py", line 469, in build
return handler.build(name=name, version=version, static_url=static_url,
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jupyterlab\commands.py", line 678, in build
raise RuntimeError(msg)
RuntimeError: JupyterLab failed to build
Exiting application: lab
Also wanted to add that trying to run the same installation methods on a MacBook running macOS 10.15.7 with Jupyter lab 3.1.0a4 results in an almost identical error log like the one above.
I ran into the same problem, build failed. Thank you !
- same error on win10 as @crocokyle
- jupyter --version
- jupyter core : 4.7.1
- jupyter-notebook : 6.2.0
- qtconsole : 5.0.3
- ipython : 7.22.0
- ipykernel : 5.4.3
- jupyter client : 6.1.11
- jupyter lab : 3.0.14
- nbconvert : 6.0.7
- ipywidgets : 7.6.3
- nbformat : 5.1.2
- traitlets : 5.0.5
- Tried installation via both pip and npm as mentioned in the installation docs
Same problem here.
Same problem here:
Extension Manager
1- Started with clean environment
2- Installed jupyter-lab, numpy and pandas. Everything working at this point.
3- Tried to install variable insperctor via Extension Manager, resulting in:
Build failed with 500, please run 'jupyter lab build' on the server for full output
PIP
same steps as before, changing 3, installing via pip. Resulting in:
Build failed with 500, please run 'jupyter lab build' on the server for full output
In both cases I tried to change browser (just in case) same problem with both Chrome and Firefox.
OS Edition Windows 10 Pro Version 20H2 OS build 19042.928
Packages in the enviroment Name Version Build Channel anyio 2.2.0 py39hcbf5309_0 conda-forge argon2-cffi 20.1.0 py39hb82d6ee_2 conda-forge async_generator 1.10 py_0 conda-forge attrs 20.3.0 pyhd3deb0d_0 conda-forge babel 2.9.0 pyhd3deb0d_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge bleach 3.3.0 pyh44b312d_0 conda-forge brotlipy 0.7.0 py39hb82d6ee_1001 conda-forge ca-certificates 2020.12.5 h5b45459_0 conda-forge certifi 2020.12.5 py39hcbf5309_1 conda-forge cffi 1.14.5 py39h0878f49_0 conda-forge chardet 4.0.0 py39hcbf5309_1 conda-forge colorama 0.4.4 pyh9f0ad1d_0 conda-forge cryptography 3.4.7 py39hd8d06c1_0 conda-forge decorator 5.0.7 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge deprecation 2.1.0 pyh9f0ad1d_0 conda-forge entrypoints 0.3 pyhd8ed1ab_1003 conda-forge idna 2.10 pyh9f0ad1d_0 conda-forge importlib-metadata 4.0.1 py39hcbf5309_0 conda-forge intel-openmp 2021.2.0 h57928b3_616 conda-forge ipykernel 5.5.3 py39h832f523_0 conda-forge ipython 7.22.0 py39h832f523_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jedi 0.18.0 py39hcbf5309_2 conda-forge jinja2 2.11.3 pyh44b312d_0 conda-forge json5 0.9.5 pyh9f0ad1d_0 conda-forge jsonschema 3.2.0 pyhd8ed1ab_3 conda-forge jupyter-packaging 0.9.2 pyhd8ed1ab_0 conda-forge jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge jupyter_core 4.7.1 py39hcbf5309_0 conda-forge jupyter_server 1.6.4 py39hcbf5309_0 conda-forge jupyterlab 3.0.14 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge jupyterlab_server 2.5.0 pyhd8ed1ab_0 conda-forge libblas 3.9.0 8_mkl conda-forge libcblas 3.9.0 8_mkl conda-forge liblapack 3.9.0 8_mkl conda-forge libsodium 1.0.18 h8d14728_1 conda-forge markupsafe 1.1.1 py39hb82d6ee_3 conda-forge mistune 0.8.4 py39hb82d6ee_1003 conda-forge mkl 2020.4 hb70f87d_311 conda-forge nbclassic 0.2.7 pyhd8ed1ab_0 conda-forge nbclient 0.5.3 pyhd8ed1ab_0 conda-forge nbconvert 6.0.7 py39hcbf5309_3 conda-forge nbformat 5.1.3 pyhd8ed1ab_0 conda-forge nest-asyncio 1.5.1 pyhd8ed1ab_0 conda-forge notebook 6.3.0 pyha770c72_1 conda-forge numpy 1.20.2 py39h6635163_0 conda-forge openssl 1.1.1k h8ffe710_0 conda-forge packaging 20.9 pyh44b312d_0 conda-forge pandas 1.2.4 py39h2e25243_0 conda-forge pandoc 2.13 h8ffe710_0 conda-forge pandocfilters 1.4.2 py_1 conda-forge parso 0.8.2 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pip 21.1 pyhd8ed1ab_0 conda-forge prometheus_client 0.10.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.18 pyha770c72_0 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pygments 2.8.1 pyhd8ed1ab_0 conda-forge pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge pyrsistent 0.17.3 py39hb82d6ee_2 conda-forge pysocks 1.7.1 py39hcbf5309_3 conda-forge python 3.9.2 h7840368_0_cpython conda-forge python-dateutil 2.8.1 py_0 conda-forge python_abi 3.9 1_cp39 conda-forge pytz 2021.1 pyhd8ed1ab_0 conda-forge pywin32 300 py39hb82d6ee_0 conda-forge pywinpty 1.0.1 py39h99910a6_0 conda-forge pyzmq 22.0.3 py39he46f08e_1 conda-forge requests 2.25.1 pyhd3deb0d_0 conda-forge send2trash 1.5.0 py_0 conda-forge setuptools 49.6.0 py39hcbf5309_3 conda-forge six 1.15.0 pyh9f0ad1d_0 conda-forge sniffio 1.2.0 py39hcbf5309_1 conda-forge sqlite 3.35.5 h8ffe710_0 conda-forge terminado 0.9.4 py39hcbf5309_0 conda-forge testpath 0.4.4 py_0 conda-forge tomlkit 0.7.0 py39hcbf5309_3 conda-forge tornado 6.1 py39hb82d6ee_1 conda-forge traitlets 5.0.5 py_0 conda-forge tzdata 2021a he74cb21_0 conda-forge urllib3 1.26.4 pyhd8ed1ab_0 conda-forge vc 14.2 hb210afc_4 conda-forge vs2015_runtime 14.28.29325 h5e1d092_4 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge wheel 0.36.2 pyhd3deb0d_0 conda-forge win_inet_pton 1.1.0 py39hcbf5309_2 conda-forge wincertstore 0.2 py39hcbf5309_1006 conda-forge winpty 0.4.3 4 conda-forge zeromq 4.3.4 h0e60522_0 conda-forge zipp 3.4.1 pyhd8ed1ab_0 conda-forge
Same issue on Ubuntu 18.04.5
jupyter lab --version
8.0.14
[LabBuildApp] Building in /home/me/.local/share/jupyter/lab
[LabBuildApp] Node v12.10.0
[LabBuildApp] Yarn configuration loaded.
[LabBuildApp] Building jupyterlab assets (production, minimized)
[LabBuildApp] > node /home/me/.local/lib/python3.6/site-packages/jupyterlab/staging/yarn.js install --non-interactive
[LabBuildApp] yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.34s.
[LabBuildApp] > node /home/me/.local/lib/python3.6/site-packages/jupyterlab/staging/yarn.js yarn-deduplicate -s fewer --fail
[LabBuildApp] yarn run v1.21.1
$ /home/me/.local/share/jupyter/lab/staging/node_modules/.bin/yarn-deduplicate -s fewer --fail
Done in 0.20s.
[LabBuildApp] > node /home/me/.local/lib/python3.6/site-packages/jupyterlab/staging/yarn.js run build:prod:minimize
[LabBuildApp] yarn run v1.21.1
$ webpack --config webpack.prod.minimize.config.js
assets by status 10.1 MiB [cached] 115 assets
orphan modules 4.72 MiB [orphan] 1254 modules
runtime modules 104 KiB 14 modules
built modules 13.4 MiB (javascript) 4.47 KiB (consume-shared) 4.43 KiB (share-init) [built]
modules by path ./node_modules/ 13.3 MiB
cacheable modules 13.3 MiB 973 modules
3 modules
consume-shared-module modules 4.47 KiB
modules by path consume shared module (default) @jupyterlab/ 3.53 KiB 41 modules
modules by path consume shared module (default) @lumino/ 588 bytes 14 modules
provide-module modules 4.43 KiB 108 modules
modules by path ./build/ 23.4 KiB
./build/bootstrap.js 3.78 KiB [built] [code generated]
./build/index.out.js + 1 modules 19.6 KiB [built] [code generated]
4 modules
WARNING in ./node_modules/vega-lite/build/src/index.js 5:0-30
Should not import the named export 'version' (reexported as 'version') from default-exporting module (only default export is available soon)
@ consume shared module (default) vega-lite@^4.0.2 (strict) (fallback: ./node_modules/vega-lite/build/src/index.js)
@ ./node_modules/vega-embed/build/vega-embed.module.js 6:0-44 189:15-29
@ consume shared module (default) vega-embed@^6.2.1 (strict) (fallback: ./node_modules/vega-embed/build/vega-embed.module.js)
@ ./node_modules/@jupyterlab/vega5-extension/lib/index.js 166:28-48
@ consume shared module (default) @jupyterlab/vega5-extension@~3.0.7 (strict) (fallback: ./node_modules/@jupyterlab/vega5-extension/lib/index.js)
@ ./build/index.out.js 171:16-54
@ ./build/bootstrap.js
ERROR in resolving fallback for shared module @lckr/jupyterlab_variableinspector
Module not found: Error: Can't resolve '@lckr/jupyterlab_variableinspector' in '/home/me/.local/share/jupyter/lab/staging/build'
resolve '@lckr/jupyterlab_variableinspector' in '/home/me/.local/share/jupyter/lab/staging/build'
Parsed request is a module
using description file: /home/me/.local/share/jupyter/lab/staging/build/package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/home/me/.local/share/jupyter/lab/staging/build/node_modules doesn't exist or is not a directory
looking for modules in /home/me/.local/share/jupyter/lab/staging/node_modules
single file module
using description file: /home/me/.local/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file
.js
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist
existing directory /home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector
using description file: /home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: .)
using description file: /home/me/.local/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file
.js
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist
as directory
existing directory /home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector
using description file: /home/me/.local/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: /home/me/.local/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
/home/me/.local/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
/home/me/.local/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
/home/me/.local/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
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.wasm doesn't exist
as directory
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js doesn't exist
using path: /home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index
using description file: /home/me/.local/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
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/home/me/.local/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.wasm doesn't exist
/home/me/.local/share/jupyter/lab/node_modules doesn't exist or is not a directory
/home/me/.local/share/jupyter/node_modules doesn't exist or is not a directory
/home/me/.local/share/node_modules doesn't exist or is not a directory
/home/me/.local/node_modules doesn't exist or is not a directory
/home/me/node_modules doesn't exist or is not a directory
/home/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 27124 ms
asset index.css 16.1 KiB [compared for emit] (name: index)
asset index.js 0 bytes [compared for emit] [minimized] (name: index)
Entrypoint index 16.1 KiB = index.css 16.1 KiB index.js 0 bytes
./node_modules/@jupyterlab/theme-dark-extension/style/index.css 50 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-dark-extension/style/variables.css 15.3 KiB [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-dark-extension/style/base.css 472 bytes [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-dark-extension/style/index.css 342 bytes [code generated]
webpack 5.31.2 compiled successfully in 853 ms
asset index.css 15 KiB [compared for emit] (name: index)
asset index.js 0 bytes [compared for emit] [minimized] (name: index)
Entrypoint index 15 KiB = index.css 15 KiB index.js 0 bytes
./node_modules/@jupyterlab/theme-light-extension/style/index.css 50 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-light-extension/style/variables.css 14.2 KiB [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-light-extension/style/base.css 472 bytes [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-light-extension/style/index.css 342 bytes [code generated]
webpack 5.31.2 compiled successfully in 848 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[LabBuildApp] JupyterLab failed to build
[LabBuildApp] Traceback (most recent call last):
[LabBuildApp] File "/home/me/.local/lib/python3.6/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
yield
[LabBuildApp] File "/home/me/.local/lib/python3.6/site-packages/jupyterlab/labapp.py", line 166, in start
raise e
[LabBuildApp] File "/home/me/.local/lib/python3.6/site-packages/jupyterlab/labapp.py", line 163, in start
app_options=app_options, production = production, minimize=self.minimize)
[LabBuildApp] File "/home/me/.local/lib/python3.6/site-packages/jupyterlab/commands.py", line 470, in build
production=production, minimize=minimize, clean_staging=clean_staging)
[LabBuildApp] File "/home/me/.local/lib/python3.6/site-packages/jupyterlab/commands.py", line 678, in build
raise RuntimeError(msg)
[LabBuildApp] RuntimeError: JupyterLab failed to build
[LabBuildApp] Exiting application: JupyterLab
Same problem(
Any solutions? Same here on Mac OS Big Sur with python 3.9.1 and Jupyter Lab 3.0.15.
Funnily I can use jupyter lab and the extension works after I installed it later with pip, but
jupyter lab build
fails with no much hint as to what to do.
Any solutions? Same here on Mac OS Big Sur with python 3.9.1 and Jupyter Lab 3.0.15. Funnily I can use jupyter lab and the extension works after I installed it later with pip, but
jupyter lab build
fails with no much hint as to what to do.
@mcaay Interesting that you can use the extension. It doesn´t work for me in JupyterLab, and also have the build problem.
Mine was also failing at the build, this fixed it for me: https://github.com/lckr/jupyterlab-variableInspector/issues/183#issuecomment-806579896
@realmariano I think I deleted the extension with pip3, then deleted its leftover files which I found in jupyterlab folders and then installed it again with pip3.
I gotta try what @GabZech suggested.
I solved it by following @GabZech suggestion by @leopoletti and @bytedynamic https://github.com/lckr/jupyterlab-variableInspector/issues/183#issuecomment-806579896
Hello, I am under Windows 7 and I was facing this issue: the problem is path lenght which is limited to 260 caracters in windows 7. Since the temp directory is located in a long path (C:\users\username\AppData\Local\Temp\etc....) and the directory is quite long (lckr-jupyterlab-variableinspector) you easely rich the limit. The work around was to download the tar.gz file on a short path and create the wheel in that path and the build went fine. I hope it will help.
Thanks. I have solved the problem following your advice. Here is my solution:
Step 1: Download the tar.gz (https://github.com/lckr/jupyterlab-variableInspector/archive/refs/tags/v3.0.6.tar.gz) file from release page to a short path, ie "C:\mypy", and rename the tar.gz file to a short file name, ie "vi.tar.gz" (not necessary maybe)
Step 2: run CMD, type the following code:
cd /d C:\mypy\
pip install vi.tar.gz
Done.
I tyed it in a clean environment (all other details like in https://github.com/lckr/jupyterlab-variableInspector/issues/207#issuecomment-829000140).
Would be great if someone can reproduce and confirm that this solves the problem.
If so, I do not really understand why the length of the path would be a trouble here, since win10 64 should be able to manage it. Perhaps something in jupyterlab or variable inspector extension is trimming the path for some reason?
If so, I do not really understand why the length of the path would be a trouble here, since win10 64 should be able to manage it.
I have my temp directory in a different location with a much, much shorter path, and there is no trace of the package installation ever touching the default Windows directory. Still had the same problems, but the hack with installing from the .tar.gz worked for me. So it's gotta be something else.
Mine was also failing at the build, this fixed it for me: #183 (comment)
Not a fix for me. Still having the same error.
ERROR: Failed building wheel for lckr-jupyterlab-variableinspector
Failed to build lckr-jupyterlab-variableinspector
ERROR: Could not build wheels for lckr-jupyterlab-variableinspector which use PEP 517 and cannot be installed directly
Edit v3.0.6 works fine, but v3.0.7 fails.
Installation via tar.gz with shortened name also proved initially ineffective for myself; yielding the same errors as others have indicated for Windows 7/10 builds:
ERROR: Could not build wheels for lckr-jupyterlab-variableinspector which use PEP 517 and cannot be installed directly
and
ERROR: Could not build wheels for lckr-jupyterlab-variableinspector, which is required to install pyproject.toml-based projects
Exploring the full terminal output there was a line that indicated that the installed node version was incompatible. After updating pip and installing the latest Windows nodejs release v16.17.1, the tar.gz installation method with shortened name appears to have been successful.
Please install the latest python package for this extension. You should not need any build.
Closing as answered