jupyterlab-desktop
jupyterlab-desktop copied to clipboard
Usage of %pip leads to an error in 4.1.0-1 and newer bundled environment
Description
When using the latest release of jupyterlab-desktop (v4.1.2-1) and creating a new environment based on the bundled environment, %pip
will no longer be usable in a code-cell within a notebook. I haven't tested, if this bug persists in older releases as well yet. But the problem was tested (and confirmend) on three different windows 10 devices.
Reproduce
- Install the latest release of jupyterlab-desktop following the uninstall/install instructions (v4.1.2-1)
- Create a new environment using the bundled one
- Activate the just created environment
- Create a new notebook
- Insert the following command in a code cell:
%pip --version
- Execute it
- Notice the following error:
Note: you may need to restart the kernel to use updated packages. Das System kann den angegebenen Pfad nicht finden. (translated to english: The system cannot find the specified path.)
I have set the jupyterlab-desktop logs to debug-level, but could not find any related log messages. Also, the Notebook-execution log (view > show log console) did not show any causes.
Expected behavior
Expected is the correct execution of pip
and that the output of the command is displayed in a result cell.
Context
- Operating System and version: Windows 10, 64bit
- JupyterLab-Desktop version: v4.1.2-1
- Installer: JupyterLab-Setup-Windows-x64.exe
Troubleshoot Output
$PATH: C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1 C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Library\mingw-w64\bin C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Library\usr\bin C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Library\bin C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Scripts C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\bin C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\condabin C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0 C:\WINDOWS\System32\OpenSSH C:\JupyterLabsys.path: C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Scripts C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\python312.zip C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\DLLs C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Lib C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1 C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Lib\site-packages C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Lib\site-packages\win32 C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Lib\site-packages\win32\lib C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Lib\site-packages\Pythonwin
sys.executable: C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\python.exe
sys.version: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:42:31) [MSC v.1937 64 bit (AMD64)]
platform.platform(): Windows-10-10.0.19045-SP0
where jupyter: C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1\Scripts\jupyter.exe
pip list: Package Version ------------------------- --------------- anyio 4.3.0 archspec 0.2.2 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 arrow 1.3.0 asttokens 2.4.1 async-lru 2.0.4 attrs 23.2.0 Babel 2.14.0 beautifulsoup4 4.12.3 bleach 6.1.0 boltons 23.1.1 Brotli 1.1.0 cached-property 1.5.2 certifi 2024.2.2 cffi 1.16.0 charset-normalizer 3.3.2 colorama 0.4.6 comm 0.2.1 conda 24.1.1 conda-libmamba-solver 24.1.0 conda-package-handling 2.2.0 conda_package_streaming 0.9.0 contourpy 1.2.0 cycler 0.12.1 debugpy 1.8.1 decorator 5.1.1 defusedxml 0.7.1 distro 1.9.0 entrypoints 0.4 exceptiongroup 1.2.0 executing 2.0.1 fastjsonschema 2.19.1 fonttools 4.49.0 fqdn 1.5.1 h11 0.14.0 h2 4.1.0 hpack 4.0.0 httpcore 1.0.3 httpx 0.26.0 hyperframe 6.0.1 idna 3.6 importlib-metadata 7.0.1 importlib-resources 6.1.1 ipykernel 6.29.2 ipympl 0.9.3 ipython 8.21.0 ipython-genutils 0.2.0 ipywidgets 8.1.2 isoduration 20.11.0 jedi 0.19.1 Jinja2 3.1.3 json5 0.9.17 jsonpatch 1.33 jsonpointer 2.4 jsonschema 4.21.1 jsonschema-specifications 2023.12.1 jupyter_client 8.6.0 jupyter_core 5.7.1 jupyter-events 0.9.0 jupyter-lsp 2.2.2 jupyter_server 2.12.5 jupyter_server_terminals 0.5.2 jupyterlab 4.1.2 jupyterlab_pygments 0.3.0 jupyterlab_server 2.25.3 jupyterlab_widgets 3.0.10 kiwisolver 1.4.5 libmambapy 1.5.6 MarkupSafe 2.1.5 matplotlib 3.8.3 matplotlib-inline 0.1.6 menuinst 2.0.2 mistune 3.0.2 munkres 1.1.4 nbclient 0.8.0 nbconvert 7.16.1 nbformat 5.9.2 nest_asyncio 1.6.0 notebook_shim 0.2.4 numpy 1.26.4 overrides 7.7.0 packaging 23.2 pandas 2.2.0 pandocfilters 1.5.0 parso 0.8.3 pickleshare 0.7.5 pillow 10.2.0 pip 24.0 pkgutil_resolve_name 1.3.10 platformdirs 4.2.0 pluggy 1.4.0 prometheus_client 0.20.0 prompt-toolkit 3.0.42 psutil 5.9.8 pure-eval 0.2.2 pycosat 0.6.6 pycparser 2.21 Pygments 2.17.2 pyparsing 3.1.1 PySocks 1.7.1 python-dateutil 2.8.2 python-json-logger 2.0.7 pytz 2024.1 pywin32 306 pywinpty 2.0.12 PyYAML 6.0.1 pyzmq 25.1.2 referencing 0.33.0 requests 2.31.0 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 rpds-py 0.18.0 ruamel.yaml 0.18.6 ruamel.yaml.clib 0.2.8 scipy 1.12.0 Send2Trash 1.8.2 setuptools 69.1.0 six 1.16.0 sniffio 1.3.0 soupsieve 2.5 stack-data 0.6.2 terminado 0.18.0 tinycss2 1.2.1 tomli 2.0.1 tornado 6.4 tqdm 4.66.2 traitlets 5.14.1 truststore 0.8.0 types-python-dateutil 2.8.19.20240106 typing_extensions 4.9.0 typing-utils 0.1.0 tzdata 2024.1 uri-template 1.3.0 urllib3 2.2.1 wcwidth 0.2.13 webcolors 1.13 webencodings 0.5.1 websocket-client 1.7.0 wheel 0.42.0 widgetsnbextension 4.0.10 win-inet-pton 1.1.0 zipp 3.17.0 zstandard 0.22.0
conda list: # packages in environment at C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1: # # Name Version Build Channel anyio 4.3.0 pyhd8ed1ab_0 conda-forge archspec 0.2.2 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py312he70551f_4 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge asttokens 2.4.1 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge attrs 23.2.0 pyh71513ae_0 conda-forge babel 2.14.0 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.3 pyha770c72_0 conda-forge bleach 6.1.0 pyhd8ed1ab_0 conda-forge boltons 23.1.1 pyhd8ed1ab_0 conda-forge brotli 1.1.0 hcfcfb64_1 conda-forge brotli-bin 1.1.0 hcfcfb64_1 conda-forge brotli-python 1.1.0 py312h53d5487_1 conda-forge bzip2 1.0.8 hcfcfb64_5 conda-forge ca-certificates 2024.2.2 h56e8100_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge certifi 2024.2.2 pyhd8ed1ab_0 conda-forge cffi 1.16.0 py312he70551f_0 conda-forge charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge comm 0.2.1 pyhd8ed1ab_0 conda-forge conda 24.1.1 py312h2e8e312_0 conda-forge conda-libmamba-solver 24.1.0 pyhd8ed1ab_0 conda-forge conda-package-handling 2.2.0 pyh38be061_0 conda-forge conda-package-streaming 0.9.0 pyhd8ed1ab_0 conda-forge contourpy 1.2.0 py312h0d7def4_0 conda-forge cycler 0.12.1 pyhd8ed1ab_0 conda-forge debugpy 1.8.1 py312h53d5487_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge distro 1.9.0 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge executing 2.0.1 pyhd8ed1ab_0 conda-forge fmt 10.2.1 h181d51b_0 conda-forge fonttools 4.49.0 py312he70551f_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 hdaf720e_2 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge hpack 4.0.0 pyh9f0ad1d_0 conda-forge httpcore 1.0.3 pyhd8ed1ab_0 conda-forge httpx 0.26.0 pyhd8ed1ab_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge idna 3.6 pyhd8ed1ab_0 conda-forge importlib-metadata 7.0.1 pyha770c72_0 conda-forge importlib_metadata 7.0.1 hd8ed1ab_0 conda-forge importlib_resources 6.1.1 pyhd8ed1ab_0 conda-forge intel-openmp 2024.0.0 h57928b3_49841 conda-forge ipykernel 6.29.2 pyha63f2e9_0 conda-forge ipympl 0.9.3 pyhd8ed1ab_0 conda-forge ipython 8.21.0 pyh7428d3b_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 8.1.2 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.1.3 pyhd8ed1ab_0 conda-forge json5 0.9.17 pyhd8ed1ab_0 conda-forge jsonpatch 1.33 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py312h2e8e312_3 conda-forge jsonschema 4.21.1 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.21.1 pyhd8ed1ab_0 conda-forge jupyter-lsp 2.2.2 pyhd8ed1ab_0 conda-forge jupyter_client 8.6.0 pyhd8ed1ab_0 conda-forge jupyter_core 5.7.1 py312h2e8e312_0 conda-forge jupyter_events 0.9.0 pyhd8ed1ab_0 conda-forge jupyter_server 2.12.5 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.5.2 pyhd8ed1ab_0 conda-forge jupyterlab 4.1.2 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge jupyterlab_server 2.25.3 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.10 pyhd8ed1ab_0 conda-forge kiwisolver 1.4.5 py312h0d7def4_1 conda-forge krb5 1.21.2 heb0366b_0 conda-forge lcms2 2.16 h67d730c_0 conda-forge lerc 4.0.0 h63175ca_0 conda-forge libarchive 3.7.2 h313118b_1 conda-forge libblas 3.9.0 21_win64_mkl conda-forge libbrotlicommon 1.1.0 hcfcfb64_1 conda-forge libbrotlidec 1.1.0 hcfcfb64_1 conda-forge libbrotlienc 1.1.0 hcfcfb64_1 conda-forge libcblas 3.9.0 21_win64_mkl conda-forge libcurl 8.5.0 hd5e4a3a_0 conda-forge libdeflate 1.19 hcfcfb64_0 conda-forge libexpat 2.5.0 h63175ca_1 conda-forge libffi 3.4.2 h8ffe710_5 conda-forge libhwloc 2.9.3 default_haede6df_1009 conda-forge libiconv 1.17 hcfcfb64_2 conda-forge libjpeg-turbo 3.0.0 hcfcfb64_1 conda-forge liblapack 3.9.0 21_win64_mkl conda-forge libmamba 1.5.6 h3f09ed1_0 conda-forge libmambapy 1.5.6 py312h66cf91f_0 conda-forge libpng 1.6.42 h19919ed_0 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libsolv 0.7.28 h12be248_0 conda-forge libsqlite 3.45.1 hcfcfb64_0 conda-forge libssh2 1.11.0 h7dfc565_0 conda-forge libtiff 4.6.0 h6e2ebb7_2 conda-forge libwebp-base 1.3.2 hcfcfb64_0 conda-forge libxcb 1.15 hcd874cb_0 conda-forge libxml2 2.12.5 hc3477c8_0 conda-forge libzlib 1.2.13 hcfcfb64_5 conda-forge lz4-c 1.9.4 hcfcfb64_0 conda-forge lzo 2.10 he774522_1000 conda-forge m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge markupsafe 2.1.5 py312he70551f_0 conda-forge matplotlib-base 3.8.3 py312h26ecaf7_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge menuinst 2.0.2 py312h53d5487_0 conda-forge mistune 3.0.2 pyhd8ed1ab_0 conda-forge mkl 2024.0.0 h66d3029_49657 conda-forge msys2-conda-epoch 20160418 1 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge nbclient 0.8.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.16.1 pyhd8ed1ab_0 conda-forge nbformat 5.9.2 pyhd8ed1ab_0 conda-forge nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge numpy 1.26.4 py312h8753938_0 conda-forge openjpeg 2.5.0 h3d672ee_3 conda-forge openssl 3.2.1 hcfcfb64_0 conda-forge overrides 7.7.0 pyhd8ed1ab_0 conda-forge packaging 23.2 pyhd8ed1ab_0 conda-forge pandas 2.2.0 py312h2ab9e98_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 10.2.0 py312he768995_0 conda-forge pip 24.0 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 4.2.0 pyhd8ed1ab_0 conda-forge pluggy 1.4.0 pyhd8ed1ab_0 conda-forge prometheus_client 0.20.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.42 pyha770c72_0 conda-forge psutil 5.9.8 py312he70551f_0 conda-forge pthread-stubs 0.4 hcd874cb_1001 conda-forge pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd8ed1ab_3 conda-forge pycosat 0.6.6 py312he70551f_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pygments 2.17.2 pyhd8ed1ab_0 conda-forge pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyh0701188_6 conda-forge python 3.12.2 h2628c8c_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.19.1 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-tzdata 2024.1 pyhd8ed1ab_0 conda-forge python_abi 3.12 4_cp312 conda-forge pytz 2024.1 pyhd8ed1ab_0 conda-forge pywin32 306 py312h53d5487_2 conda-forge pywinpty 2.0.12 py312h53d5487_0 conda-forge pyyaml 6.0.1 py312he70551f_1 conda-forge pyzmq 25.1.2 py312h1ac6f91_0 conda-forge referencing 0.33.0 pyhd8ed1ab_0 conda-forge reproc 14.2.4.post0 hcfcfb64_1 conda-forge reproc-cpp 14.2.4.post0 h63175ca_1 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rpds-py 0.18.0 py312hfccd98a_0 conda-forge ruamel.yaml 0.18.6 py312he70551f_0 conda-forge ruamel.yaml.clib 0.2.8 py312he70551f_0 conda-forge scipy 1.12.0 py312h8753938_2 conda-forge send2trash 1.8.2 pyh08f2357_0 conda-forge setuptools 69.1.0 pyhd8ed1ab_1 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge tbb 2021.11.0 h91493d7_1 conda-forge terminado 0.18.0 pyh5737063_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.13 h5226925_1 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tornado 6.4 py312he70551f_0 conda-forge tqdm 4.66.2 pyhd8ed1ab_0 conda-forge traitlets 5.14.1 pyhd8ed1ab_0 conda-forge truststore 0.8.0 pyhd8ed1ab_0 conda-forge types-python-dateutil 2.8.19.20240106 pyhd8ed1ab_0 conda-forge typing-extensions 4.9.0 hd8ed1ab_0 conda-forge typing_extensions 4.9.0 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzdata 2024a h0c530f3_0 conda-forge ucrt 10.0.22621.0 h57928b3_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge urllib3 2.2.1 pyhd8ed1ab_0 conda-forge vc 14.3 hcf57466_18 conda-forge vc14_runtime 14.38.33130 h82b7239_18 conda-forge vs2015_runtime 14.38.33130 hcb4865c_18 conda-forge wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.7.0 pyhd8ed1ab_0 conda-forge wheel 0.42.0 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.10 pyhd8ed1ab_0 conda-forge win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge winpty 0.4.3 4 conda-forge xorg-libxau 1.0.11 hcd874cb_0 conda-forge xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge yaml-cpp 0.8.0 h63175ca_0 conda-forge zeromq 4.3.5 h63175ca_0 conda-forge zipp 3.17.0 pyhd8ed1ab_0 conda-forge zstandard 0.22.0 py312h01d794b_0 conda-forge zstd 1.5.5 h12be248_0 conda-forge
conda env: name: base channels: - conda-forge - defaults dependencies: - anyio=4.3.0=pyhd8ed1ab_0 - archspec=0.2.2=pyhd8ed1ab_0 - argon2-cffi=23.1.0=pyhd8ed1ab_0 - argon2-cffi-bindings=21.2.0=py312he70551f_4 - arrow=1.3.0=pyhd8ed1ab_0 - asttokens=2.4.1=pyhd8ed1ab_0 - async-lru=2.0.4=pyhd8ed1ab_0 - attrs=23.2.0=pyh71513ae_0 - babel=2.14.0=pyhd8ed1ab_0 - beautifulsoup4=4.12.3=pyha770c72_0 - bleach=6.1.0=pyhd8ed1ab_0 - boltons=23.1.1=pyhd8ed1ab_0 - brotli=1.1.0=hcfcfb64_1 - brotli-bin=1.1.0=hcfcfb64_1 - brotli-python=1.1.0=py312h53d5487_1 - bzip2=1.0.8=hcfcfb64_5 - ca-certificates=2024.2.2=h56e8100_0 - cached-property=1.5.2=hd8ed1ab_1 - cached_property=1.5.2=pyha770c72_1 - certifi=2024.2.2=pyhd8ed1ab_0 - cffi=1.16.0=py312he70551f_0 - charset-normalizer=3.3.2=pyhd8ed1ab_0 - colorama=0.4.6=pyhd8ed1ab_0 - comm=0.2.1=pyhd8ed1ab_0 - conda=24.1.1=py312h2e8e312_0 - conda-libmamba-solver=24.1.0=pyhd8ed1ab_0 - conda-package-handling=2.2.0=pyh38be061_0 - conda-package-streaming=0.9.0=pyhd8ed1ab_0 - contourpy=1.2.0=py312h0d7def4_0 - cycler=0.12.1=pyhd8ed1ab_0 - debugpy=1.8.1=py312h53d5487_0 - decorator=5.1.1=pyhd8ed1ab_0 - defusedxml=0.7.1=pyhd8ed1ab_0 - distro=1.9.0=pyhd8ed1ab_0 - entrypoints=0.4=pyhd8ed1ab_0 - exceptiongroup=1.2.0=pyhd8ed1ab_2 - executing=2.0.1=pyhd8ed1ab_0 - fmt=10.2.1=h181d51b_0 - fonttools=4.49.0=py312he70551f_0 - fqdn=1.5.1=pyhd8ed1ab_0 - freetype=2.12.1=hdaf720e_2 - h11=0.14.0=pyhd8ed1ab_0 - h2=4.1.0=pyhd8ed1ab_0 - hpack=4.0.0=pyh9f0ad1d_0 - httpcore=1.0.3=pyhd8ed1ab_0 - httpx=0.26.0=pyhd8ed1ab_0 - hyperframe=6.0.1=pyhd8ed1ab_0 - idna=3.6=pyhd8ed1ab_0 - importlib-metadata=7.0.1=pyha770c72_0 - importlib_metadata=7.0.1=hd8ed1ab_0 - importlib_resources=6.1.1=pyhd8ed1ab_0 - intel-openmp=2024.0.0=h57928b3_49841 - ipykernel=6.29.2=pyha63f2e9_0 - ipympl=0.9.3=pyhd8ed1ab_0 - ipython=8.21.0=pyh7428d3b_0 - ipython_genutils=0.2.0=py_1 - ipywidgets=8.1.2=pyhd8ed1ab_0 - isoduration=20.11.0=pyhd8ed1ab_0 - jedi=0.19.1=pyhd8ed1ab_0 - jinja2=3.1.3=pyhd8ed1ab_0 - json5=0.9.17=pyhd8ed1ab_0 - jsonpatch=1.33=pyhd8ed1ab_0 - jsonpointer=2.4=py312h2e8e312_3 - jsonschema=4.21.1=pyhd8ed1ab_0 - jsonschema-specifications=2023.12.1=pyhd8ed1ab_0 - jsonschema-with-format-nongpl=4.21.1=pyhd8ed1ab_0 - jupyter-lsp=2.2.2=pyhd8ed1ab_0 - jupyter_client=8.6.0=pyhd8ed1ab_0 - jupyter_core=5.7.1=py312h2e8e312_0 - jupyter_events=0.9.0=pyhd8ed1ab_0 - jupyter_server=2.12.5=pyhd8ed1ab_0 - jupyter_server_terminals=0.5.2=pyhd8ed1ab_0 - jupyterlab=4.1.2=pyhd8ed1ab_0 - jupyterlab_pygments=0.3.0=pyhd8ed1ab_1 - jupyterlab_server=2.25.3=pyhd8ed1ab_0 - jupyterlab_widgets=3.0.10=pyhd8ed1ab_0 - kiwisolver=1.4.5=py312h0d7def4_1 - krb5=1.21.2=heb0366b_0 - lcms2=2.16=h67d730c_0 - lerc=4.0.0=h63175ca_0 - libarchive=3.7.2=h313118b_1 - libblas=3.9.0=21_win64_mkl - libbrotlicommon=1.1.0=hcfcfb64_1 - libbrotlidec=1.1.0=hcfcfb64_1 - libbrotlienc=1.1.0=hcfcfb64_1 - libcblas=3.9.0=21_win64_mkl - libcurl=8.5.0=hd5e4a3a_0 - libdeflate=1.19=hcfcfb64_0 - libexpat=2.5.0=h63175ca_1 - libffi=3.4.2=h8ffe710_5 - libhwloc=2.9.3=default_haede6df_1009 - libiconv=1.17=hcfcfb64_2 - libjpeg-turbo=3.0.0=hcfcfb64_1 - liblapack=3.9.0=21_win64_mkl - libmamba=1.5.6=h3f09ed1_0 - libmambapy=1.5.6=py312h66cf91f_0 - libpng=1.6.42=h19919ed_0 - libsodium=1.0.18=h8d14728_1 - libsolv=0.7.28=h12be248_0 - libsqlite=3.45.1=hcfcfb64_0 - libssh2=1.11.0=h7dfc565_0 - libtiff=4.6.0=h6e2ebb7_2 - libwebp-base=1.3.2=hcfcfb64_0 - libxcb=1.15=hcd874cb_0 - libxml2=2.12.5=hc3477c8_0 - libzlib=1.2.13=hcfcfb64_5 - lz4-c=1.9.4=hcfcfb64_0 - lzo=2.10=he774522_1000 - m2w64-gcc-libgfortran=5.3.0=6 - m2w64-gcc-libs=5.3.0=7 - m2w64-gcc-libs-core=5.3.0=7 - m2w64-gmp=6.1.0=2 - m2w64-libwinpthread-git=5.0.0.4634.697f757=2 - markupsafe=2.1.5=py312he70551f_0 - matplotlib-base=3.8.3=py312h26ecaf7_0 - matplotlib-inline=0.1.6=pyhd8ed1ab_0 - menuinst=2.0.2=py312h53d5487_0 - mistune=3.0.2=pyhd8ed1ab_0 - mkl=2024.0.0=h66d3029_49657 - msys2-conda-epoch=20160418=1 - munkres=1.1.4=pyh9f0ad1d_0 - nbclient=0.8.0=pyhd8ed1ab_0 - nbconvert-core=7.16.1=pyhd8ed1ab_0 - nbformat=5.9.2=pyhd8ed1ab_0 - nest-asyncio=1.6.0=pyhd8ed1ab_0 - notebook-shim=0.2.4=pyhd8ed1ab_0 - numpy=1.26.4=py312h8753938_0 - openjpeg=2.5.0=h3d672ee_3 - openssl=3.2.1=hcfcfb64_0 - overrides=7.7.0=pyhd8ed1ab_0 - packaging=23.2=pyhd8ed1ab_0 - pandas=2.2.0=py312h2ab9e98_0 - pandocfilters=1.5.0=pyhd8ed1ab_0 - parso=0.8.3=pyhd8ed1ab_0 - pickleshare=0.7.5=py_1003 - pillow=10.2.0=py312he768995_0 - pip=24.0=pyhd8ed1ab_0 - pkgutil-resolve-name=1.3.10=pyhd8ed1ab_1 - platformdirs=4.2.0=pyhd8ed1ab_0 - pluggy=1.4.0=pyhd8ed1ab_0 - prometheus_client=0.20.0=pyhd8ed1ab_0 - prompt-toolkit=3.0.42=pyha770c72_0 - psutil=5.9.8=py312he70551f_0 - pthread-stubs=0.4=hcd874cb_1001 - pthreads-win32=2.9.1=hfa6e2cd_3 - pure_eval=0.2.2=pyhd8ed1ab_0 - pybind11-abi=4=hd8ed1ab_3 - pycosat=0.6.6=py312he70551f_0 - pycparser=2.21=pyhd8ed1ab_0 - pygments=2.17.2=pyhd8ed1ab_0 - pyparsing=3.1.1=pyhd8ed1ab_0 - pysocks=1.7.1=pyh0701188_6 - python=3.12.2=h2628c8c_0_cpython - python-dateutil=2.8.2=pyhd8ed1ab_0 - python-fastjsonschema=2.19.1=pyhd8ed1ab_0 - python-json-logger=2.0.7=pyhd8ed1ab_0 - python-tzdata=2024.1=pyhd8ed1ab_0 - python_abi=3.12=4_cp312 - pytz=2024.1=pyhd8ed1ab_0 - pywin32=306=py312h53d5487_2 - pywinpty=2.0.12=py312h53d5487_0 - pyyaml=6.0.1=py312he70551f_1 - pyzmq=25.1.2=py312h1ac6f91_0 - referencing=0.33.0=pyhd8ed1ab_0 - reproc=14.2.4.post0=hcfcfb64_1 - reproc-cpp=14.2.4.post0=h63175ca_1 - requests=2.31.0=pyhd8ed1ab_0 - rfc3339-validator=0.1.4=pyhd8ed1ab_0 - rfc3986-validator=0.1.1=pyh9f0ad1d_0 - rpds-py=0.18.0=py312hfccd98a_0 - ruamel.yaml=0.18.6=py312he70551f_0 - ruamel.yaml.clib=0.2.8=py312he70551f_0 - scipy=1.12.0=py312h8753938_2 - send2trash=1.8.2=pyh08f2357_0 - setuptools=69.1.0=pyhd8ed1ab_1 - six=1.16.0=pyh6c4a22f_0 - sniffio=1.3.0=pyhd8ed1ab_0 - soupsieve=2.5=pyhd8ed1ab_1 - stack_data=0.6.2=pyhd8ed1ab_0 - tbb=2021.11.0=h91493d7_1 - terminado=0.18.0=pyh5737063_0 - tinycss2=1.2.1=pyhd8ed1ab_0 - tk=8.6.13=h5226925_1 - tomli=2.0.1=pyhd8ed1ab_0 - tornado=6.4=py312he70551f_0 - tqdm=4.66.2=pyhd8ed1ab_0 - traitlets=5.14.1=pyhd8ed1ab_0 - truststore=0.8.0=pyhd8ed1ab_0 - types-python-dateutil=2.8.19.20240106=pyhd8ed1ab_0 - typing-extensions=4.9.0=hd8ed1ab_0 - typing_extensions=4.9.0=pyha770c72_0 - typing_utils=0.1.0=pyhd8ed1ab_0 - tzdata=2024a=h0c530f3_0 - ucrt=10.0.22621.0=h57928b3_0 - uri-template=1.3.0=pyhd8ed1ab_0 - urllib3=2.2.1=pyhd8ed1ab_0 - vc=14.3=hcf57466_18 - vc14_runtime=14.38.33130=h82b7239_18 - vs2015_runtime=14.38.33130=hcb4865c_18 - wcwidth=0.2.13=pyhd8ed1ab_0 - webcolors=1.13=pyhd8ed1ab_0 - webencodings=0.5.1=pyhd8ed1ab_2 - websocket-client=1.7.0=pyhd8ed1ab_0 - wheel=0.42.0=pyhd8ed1ab_0 - widgetsnbextension=4.0.10=pyhd8ed1ab_0 - win_inet_pton=1.1.0=pyhd8ed1ab_6 - winpty=0.4.3=4 - xorg-libxau=1.0.11=hcd874cb_0 - xorg-libxdmcp=1.1.3=hcd874cb_0 - xz=5.2.6=h8d14728_0 - yaml=0.2.5=h8ffe710_2 - yaml-cpp=0.8.0=h63175ca_0 - zeromq=4.3.5=h63175ca_0 - zipp=3.17.0=pyhd8ed1ab_0 - zstandard=0.22.0=py312h01d794b_0 - zstd=1.5.5=h12be248_0 prefix: C:\Users\user\AppData\Roaming\jupyterlab-desktop\envs\env_1
If further information is required, just let me know and I'll try to provide it.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
@KTBL-KristofferSchneider I was able to reproduce it on Windows, I will be investigating the root cause. In the mean time you can use the terminal to install the packages you need. Please see the instructions here.
I have further tested, which release started to contain this problem. As far as I have tested it, it seems to start with Version v4.1.0-1. Furthermore, it seems like there are more problems, than a non-working %pip
command.
For example: until 4.1.0-1 I used to install perspective using %pip install perspective-python
. Since the %pip
command does not work, I switched over to the lab-terminal. Apparently the installation fails using v4.1.0-1 and up - but once I switch back to v4.0.12-1 it works again. Another way I tried was to install it via anaconda using conda install -c conda-forge perspective
. This leads to a successful installation, but running some example code leads to a crashed jupyter-kernel.
Example-Code
from datetime import date, datetime
import numpy as np
import pandas as pd
import perspective
from perspective import PerspectiveWidget, Table
data = pd.DataFrame({
"int": np.arange(100),
"float": [i * 1.5 for i in range(100)],
"bool": [True for i in range(100)],
"date": [date.today() for i in range(100)],
"datetime": [datetime.now() for i in range(100)],
"string": [str("A" * i) for i in range(100)]
})
table = perspective.Table(data, index="float")
PerspectiveWidget(data)
Once the messagebox has shown the message, that the kernel will be restarted, the following messages appear within the notebook-log:
16:09:35
No such comm target registered: jupyter.widget.control
No such comm: 4120bff6-4f24-48c0-a0a0-48a66cf409bd
Important is to always use the bundled environment. I don't know if the problem using perspective
is related to the %pip
problem or not.