Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to install rise in a clean environment due to post-link failure (jupyter-nbextension: No such file or directory) #43

Open
1 task done
traversaro opened this issue Dec 14, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@traversaro
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

When creating a clean environment with just rise, the post-link phase of the environment fails with jupyter-nbextension missing executable.

Linux log:

traversaro@IITICUBLAP257:~$ mamba create -n rise rise

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.4.2) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['rise']

warning  libmamba Cache file "/home/traversaro/miniforge3/pkgs/cache/497deca9.json" was modified by another program
warning  libmamba Cache file "/home/traversaro/miniforge3/pkgs/cache/09cdf8bf.json" was modified by another program
robostack-staging/noarch                                      No change
robostack-staging/linux-64                                    No change
conda-forge/noarch                                  15.0MB @   4.9MB/s  3.2s
conda-forge/linux-64                                36.7MB @   6.4MB/s  6.1s


Transaction

  Prefix: /home/traversaro/miniforge3/envs/rise

  Updating specs:

   - rise


  Package                               Version  Build               Channel                    Size
──────────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
──────────────────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                           0.1  conda_forge         conda-forge/linux-64     Cached
  + _openmp_mutex                           4.5  2_gnu               conda-forge/linux-64     Cached
  + anyio                                 4.1.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + argon2-cffi                          23.1.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + argon2-cffi-bindings                 21.2.0  py311h459d7ec_4     conda-forge/linux-64       35kB
  + arrow                                 1.3.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + asttokens                             2.4.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + async-lru                             2.0.4  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + attrs                                23.1.0  pyh71513ae_1        conda-forge/noarch       Cached
  + babel                                2.14.0  pyhd8ed1ab_0        conda-forge/noarch          8MB
  + beautifulsoup4                       4.12.2  pyha770c72_0        conda-forge/noarch       Cached
  + bleach                                6.1.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + brotli-python                         1.1.0  py311hb755f60_1     conda-forge/linux-64     Cached
  + bzip2                                 1.0.8  hd590300_5          conda-forge/linux-64     Cached
  + ca-certificates                  2023.11.17  hbcca054_0          conda-forge/linux-64     Cached
  + cached-property                       1.5.2  hd8ed1ab_1          conda-forge/noarch       Cached
  + cached_property                       1.5.2  pyha770c72_1        conda-forge/noarch       Cached
  + certifi                          2023.11.17  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + cffi                                 1.16.0  py311hb3a22ac_0     conda-forge/linux-64     Cached
  + charset-normalizer                    3.3.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + comm                                  0.1.4  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + debugpy                               1.8.0  py311hb755f60_1     conda-forge/linux-64        3MB
  + decorator                             5.1.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + defusedxml                            0.7.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + entrypoints                             0.4  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + exceptiongroup                        1.2.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + executing                             2.0.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + fqdn                                  1.5.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + idna                                    3.6  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + importlib-metadata                    7.0.0  pyha770c72_0        conda-forge/noarch       Cached
  + importlib_metadata                    7.0.0  hd8ed1ab_0          conda-forge/noarch       Cached
  + importlib_resources                   6.1.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + ipykernel                            6.26.0  pyhf8b6a83_0        conda-forge/noarch       Cached
  + ipython                              8.18.1  pyh707e725_3        conda-forge/noarch       Cached
  + isoduration                         20.11.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jedi                                 0.19.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jinja2                                3.1.2  pyhd8ed1ab_1        conda-forge/noarch       Cached
  + json5                                0.9.14  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jsonpointer                             2.4  py311h38be061_3     conda-forge/linux-64     Cached
  + jsonschema                           4.20.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jsonschema-specifications         2023.11.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jsonschema-with-format-nongpl        4.20.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jupyter-lsp                           2.2.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jupyter_client                        8.6.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jupyter_core                          5.5.0  py311h38be061_0     conda-forge/linux-64       94kB
  + jupyter_events                        0.9.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jupyter_server                       2.12.1  pyhd8ed1ab_0        conda-forge/noarch        321kB
  + jupyter_server_terminals              0.5.0  pyhd8ed1ab_0        conda-forge/noarch         20kB
  + jupyterlab                            4.0.9  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jupyterlab_pygments                   0.3.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + jupyterlab_server                    2.25.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + ld_impl_linux-64                       2.40  h41732ed_0          conda-forge/linux-64     Cached
  + libexpat                              2.5.0  hcb278e6_1          conda-forge/linux-64     Cached
  + libffi                                3.4.2  h7f98852_5          conda-forge/linux-64     Cached
  + libgcc-ng                            13.2.0  h807b86a_3          conda-forge/linux-64     Cached
  + libgomp                              13.2.0  h807b86a_3          conda-forge/linux-64     Cached
  + libnsl                                2.0.1  hd590300_0          conda-forge/linux-64     Cached
  + libsodium                            1.0.18  h36c2ea0_1          conda-forge/linux-64     Cached
  + libsqlite                            3.44.2  h2797004_0          conda-forge/linux-64     Cached
  + libstdcxx-ng                         13.2.0  h7e041cc_3          conda-forge/linux-64     Cached
  + libuuid                              2.38.1  h0b41bf4_0          conda-forge/linux-64     Cached
  + libzlib                              1.2.13  hd590300_5          conda-forge/linux-64     Cached
  + markupsafe                            2.1.3  py311h459d7ec_1     conda-forge/linux-64     Cached
  + matplotlib-inline                     0.1.6  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + mistune                               3.0.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + nbclient                              0.8.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + nbconvert-core                       7.12.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + nbformat                              5.9.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + ncurses                                 6.4  h59595ed_2          conda-forge/linux-64     Cached
  + nest-asyncio                          1.5.8  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + notebook                              7.0.6  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + notebook-shim                         0.2.3  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + openssl                               3.2.0  hd590300_1          conda-forge/linux-64     Cached
  + overrides                             7.4.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + packaging                              23.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + pandocfilters                         1.5.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + parso                                 0.8.3  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + pexpect                               4.8.0  pyh1a96a4e_2        conda-forge/noarch       Cached
  + pickleshare                           0.7.5  py_1003             conda-forge/noarch       Cached
  + pip                                  23.3.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + pkgutil-resolve-name                 1.3.10  pyhd8ed1ab_1        conda-forge/noarch       Cached
  + platformdirs                          4.1.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + prometheus_client                    0.19.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + prompt-toolkit                       3.0.42  pyha770c72_0        conda-forge/noarch       Cached
  + psutil                                5.9.5  py311h459d7ec_1     conda-forge/linux-64     Cached
  + ptyprocess                            0.7.0  pyhd3deb0d_0        conda-forge/noarch       Cached
  + pure_eval                             0.2.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + pycparser                              2.21  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + pygments                             2.17.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + pysocks                               1.7.1  pyha2e5f31_6        conda-forge/noarch       Cached
  + python                               3.11.6  hab00c5b_0_cpython  conda-forge/linux-64     Cached
  + python-dateutil                       2.8.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + python-fastjsonschema                2.19.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + python-json-logger                    2.0.7  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + python_abi                             3.11  4_cp311             conda-forge/linux-64     Cached
  + pytz                           2023.3.post1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + pyyaml                                6.0.1  py311h459d7ec_1     conda-forge/linux-64     Cached
  + pyzmq                                25.1.2  py311h34ded2d_0     conda-forge/linux-64      537kB
  + readline                                8.2  h8228510_1          conda-forge/linux-64     Cached
  + referencing                          0.32.0  pyhd8ed1ab_0        conda-forge/noarch         39kB
  + requests                             2.31.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + rfc3339-validator                     0.1.4  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + rfc3986-validator                     0.1.1  pyh9f0ad1d_0        conda-forge/noarch       Cached
  + rise                                  5.7.1  py311h38be061_2     conda-forge/linux-64        3MB
  + rpds-py                              0.13.2  py311h46250e7_0     conda-forge/linux-64      990kB
  + send2trash                            1.8.2  pyh41d4057_0        conda-forge/noarch       Cached
  + setuptools                           68.2.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + six                                  1.16.0  pyh6c4a22f_0        conda-forge/noarch       Cached
  + sniffio                               1.3.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + soupsieve                               2.5  pyhd8ed1ab_1        conda-forge/noarch       Cached
  + stack_data                            0.6.2  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + terminado                            0.18.0  pyh0d859eb_0        conda-forge/noarch       Cached
  + tinycss2                              1.2.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + tk                                   8.6.13  noxft_h4845f30_101  conda-forge/linux-64     Cached
  + tomli                                 2.0.1  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + tornado                               6.3.3  py311h459d7ec_1     conda-forge/linux-64     Cached
  + traitlets                            5.14.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + types-python-dateutil             2.8.19.14  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + typing-extensions                     4.9.0  hd8ed1ab_0          conda-forge/noarch         10kB
  + typing_extensions                     4.9.0  pyha770c72_0        conda-forge/noarch       Cached
  + typing_utils                          0.1.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + tzdata                                2023c  h71feb2d_0          conda-forge/noarch       Cached
  + uri-template                          1.3.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + urllib3                               2.1.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + wcwidth                              0.2.12  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + webcolors                              1.13  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + webencodings                          0.5.1  pyhd8ed1ab_2        conda-forge/noarch       Cached
  + websocket-client                      1.7.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + wheel                                0.42.0  pyhd8ed1ab_0        conda-forge/noarch       Cached
  + xz                                    5.2.6  h166bdaf_0          conda-forge/linux-64     Cached
  + yaml                                  0.2.5  h7f98852_2          conda-forge/linux-64     Cached
  + zeromq                                4.3.5  h59595ed_0          conda-forge/linux-64     Cached
  + zipp                                 3.17.0  pyhd8ed1ab_0        conda-forge/noarch       Cached

  Summary:

  Install: 133 packages

  Total download: 15MB

──────────────────────────────────────────────────────────────────────────────────────────────────────


typing-extensions                                   10.2kB @  30.8kB/s  0.3s
pyzmq                                              536.5kB @ 869.4kB/s  0.6s
referencing                                         38.9kB @  55.3kB/s  0.1s
jupyter_core                                        93.8kB @ 114.4kB/s  0.1s
rpds-py                                            989.6kB @   1.1MB/s  0.9s
argon2-cffi-bindings                                35.0kB @  32.7kB/s  0.1s
jupyter_server                                     320.9kB @ 291.2kB/s  0.3s
jupyter_server_terminals                            19.7kB @  16.4kB/s  0.1s
debugpy                                              3.0MB @   1.5MB/s  2.0s
rise                                                 2.6MB @   1.2MB/s  1.9s
babel                                                7.6MB @   2.5MB/s  3.1s

Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(740): An error occurred while installing package 'conda-forge::rise-5.7.1-py311h38be061_2'.
Rolling back transaction: done
post-link script failed for package conda-forge::rise-5.7.1-py311h38be061_2
location of failed script: /home/traversaro/miniforge3/envs/rise/bin/.rise-post-link.sh
==> script messages <==
<None>
==> script output <==
stdout:
stderr: /home/traversaro/miniforge3/envs/rise/bin/.rise-post-link.sh: line 1: /home/traversaro/miniforge3/envs/rise/bin/jupyter-nbextension: No such file or directory

return code: 127

()


LinkError: post-link script failed for package conda-forge::rise-5.7.1-py311h38be061_2
location of failed script: /home/traversaro/miniforge3/envs/rise/bin/.rise-post-link.sh
==> script messages <==
<None>
==> script output <==
stdout:
stderr: /home/traversaro/miniforge3/envs/rise/bin/.rise-post-link.sh: line 1: /home/traversaro/miniforge3/envs/rise/bin/jupyter-nbextension: No such file or directory

return code: 127

()

Windows:

C:\Users\straversaro>mamba create -n rise rise

Looking for: ['rise']

conda-forge/noarch                                  12.9MB @   4.6MB/s  2.8s
conda-forge/win-64                                  20.1MB @   5.6MB/s  3.6s
Transaction

  Prefix: C:\Users\straversaro\AppData\Local\miniforge3\envs\rise

  Updating specs:

   - rise


  Package                               Version  Build               Channel           Size
---------------------------------------------------------------------------------------------
  Install:
---------------------------------------------------------------------------------------------

  + libexpat                              2.5.0  h63175ca_1          conda-forge     Cached
  + python_abi                             3.11  4_cp311             conda-forge     Cached
  + ucrt                           10.0.22621.0  h57928b3_0          conda-forge     Cached
  + ca-certificates                  2023.11.17  h56e8100_0          conda-forge     Cached
  + winpty                                0.4.3  4                   conda-forge     Cached
  + vc14_runtime                    14.38.33130  h82b7239_18         conda-forge      750kB
  + vs2015_runtime                  14.38.33130  hcb4865c_18         conda-forge       17kB
  + vc                                     14.3  hcf57466_18         conda-forge       17kB
  + libsodium                            1.0.18  h8d14728_1          conda-forge     Cached
  + tk                                   8.6.13  h5226925_1          conda-forge     Cached
  + openssl                               3.2.0  hcfcfb64_1          conda-forge     Cached
  + libsqlite                            3.44.2  hcfcfb64_0          conda-forge     Cached
  + libzlib                              1.2.13  hcfcfb64_5          conda-forge     Cached
  + libffi                                3.4.2  h8ffe710_5          conda-forge     Cached
  + bzip2                                 1.0.8  hcfcfb64_5          conda-forge     Cached
  + yaml                                  0.2.5  h8ffe710_2          conda-forge     Cached
  + xz                                    5.2.6  h8d14728_0          conda-forge     Cached
  + zeromq                                4.3.5  h63175ca_0          conda-forge     Cached
  + tzdata                                2023c  h71feb2d_0          conda-forge     Cached
  + python                               3.11.6  h2628c8c_0_cpython  conda-forge     Cached
  + wheel                                0.42.0  pyhd8ed1ab_0        conda-forge     Cached
  + setuptools                           68.2.2  pyhd8ed1ab_0        conda-forge     Cached
  + pip                                  23.3.1  pyhd8ed1ab_0        conda-forge     Cached
  + wcwidth                              0.2.12  pyhd8ed1ab_0        conda-forge       32kB
  + pure_eval                             0.2.2  pyhd8ed1ab_0        conda-forge     Cached
  + executing                             2.0.1  pyhd8ed1ab_0        conda-forge       28kB
  + pycparser                              2.21  pyhd8ed1ab_0        conda-forge     Cached
  + win_inet_pton                         1.1.0  pyhd8ed1ab_6        conda-forge     Cached
  + types-python-dateutil             2.8.19.14  pyhd8ed1ab_0        conda-forge     Cached
  + soupsieve                               2.5  pyhd8ed1ab_1        conda-forge     Cached
  + webencodings                          0.5.1  pyhd8ed1ab_2        conda-forge     Cached
  + parso                                 0.8.3  pyhd8ed1ab_0        conda-forge     Cached
  + decorator                             5.1.1  pyhd8ed1ab_0        conda-forge     Cached
  + colorama                              0.4.6  pyhd8ed1ab_0        conda-forge     Cached
  + pygments                             2.17.2  pyhd8ed1ab_0        conda-forge      860kB
  + mistune                               3.0.2  pyhd8ed1ab_0        conda-forge       66kB
  + pandocfilters                         1.5.0  pyhd8ed1ab_0        conda-forge     Cached
  + entrypoints                             0.4  pyhd8ed1ab_0        conda-forge     Cached
  + defusedxml                            0.7.1  pyhd8ed1ab_0        conda-forge     Cached
  + python-fastjsonschema                2.19.0  pyhd8ed1ab_0        conda-forge      226kB
  + charset-normalizer                    3.3.2  pyhd8ed1ab_0        conda-forge       47kB
  + certifi                          2023.11.17  pyhd8ed1ab_0        conda-forge      159kB
  + platformdirs                          4.1.0  pyhd8ed1ab_0        conda-forge       20kB
  + cached_property                       1.5.2  pyha770c72_1        conda-forge     Cached
  + six                                  1.16.0  pyh6c4a22f_0        conda-forge     Cached
  + exceptiongroup                        1.2.0  pyhd8ed1ab_0        conda-forge       20kB
  + typing_extensions                     4.9.0  pyha770c72_0        conda-forge       36kB
  + pytz                           2023.3.post1  pyhd8ed1ab_0        conda-forge     Cached
  + zipp                                 3.17.0  pyhd8ed1ab_0        conda-forge     Cached
  + nest-asyncio                          1.5.8  pyhd8ed1ab_0        conda-forge       12kB
  + pickleshare                           0.7.5  py_1003             conda-forge     Cached
  + attrs                                23.1.0  pyh71513ae_1        conda-forge     Cached
  + pkgutil-resolve-name                 1.3.10  pyhd8ed1ab_1        conda-forge     Cached
  + webcolors                              1.13  pyhd8ed1ab_0        conda-forge     Cached
  + uri-template                          1.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + idna                                    3.6  pyhd8ed1ab_0        conda-forge     Cached
  + python-json-logger                    2.0.7  pyhd8ed1ab_0        conda-forge     Cached
  + typing_utils                          0.1.0  pyhd8ed1ab_0        conda-forge     Cached
  + websocket-client                      1.7.0  pyhd8ed1ab_0        conda-forge       47kB
  + prometheus_client                    0.19.0  pyhd8ed1ab_0        conda-forge       48kB
  + sniffio                               1.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + tomli                                 2.0.1  pyhd8ed1ab_0        conda-forge     Cached
  + traitlets                            5.14.0  pyhd8ed1ab_0        conda-forge      110kB
  + packaging                              23.2  pyhd8ed1ab_0        conda-forge     Cached
  + json5                                0.9.14  pyhd8ed1ab_0        conda-forge     Cached
  + rfc3986-validator                     0.1.1  pyh9f0ad1d_0        conda-forge     Cached
  + prompt-toolkit                       3.0.42  pyha770c72_0        conda-forge      270kB
  + pysocks                               1.7.1  pyh0701188_6        conda-forge     Cached
  + beautifulsoup4                       4.12.2  pyha770c72_0        conda-forge     Cached
  + tinycss2                              1.2.1  pyhd8ed1ab_0        conda-forge     Cached
  + jedi                                 0.19.1  pyhd8ed1ab_0        conda-forge     Cached
  + jupyterlab_pygments                   0.3.0  pyhd8ed1ab_0        conda-forge       19kB
  + cached-property                       1.5.2  hd8ed1ab_1          conda-forge     Cached
  + asttokens                             2.4.1  pyhd8ed1ab_0        conda-forge       29kB
  + python-dateutil                       2.8.2  pyhd8ed1ab_0        conda-forge     Cached
  + rfc3339-validator                     0.1.4  pyhd8ed1ab_0        conda-forge     Cached
  + typing-extensions                     4.9.0  hd8ed1ab_0          conda-forge       10kB
  + async-lru                             2.0.4  pyhd8ed1ab_0        conda-forge     Cached
  + babel                                2.14.0  pyhd8ed1ab_0        conda-forge        8MB
  + importlib_resources                   6.1.1  pyhd8ed1ab_0        conda-forge       30kB
  + importlib-metadata                    7.0.0  pyha770c72_0        conda-forge       26kB
  + overrides                             7.4.0  pyhd8ed1ab_0        conda-forge     Cached
  + anyio                                 4.1.0  pyhd8ed1ab_0        conda-forge      100kB
  + comm                                  0.1.4  pyhd8ed1ab_0        conda-forge     Cached
  + matplotlib-inline                     0.1.6  pyhd8ed1ab_0        conda-forge     Cached
  + bleach                                6.1.0  pyhd8ed1ab_0        conda-forge      131kB
  + fqdn                                  1.5.1  pyhd8ed1ab_0        conda-forge     Cached
  + stack_data                            0.6.2  pyhd8ed1ab_0        conda-forge     Cached
  + arrow                                 1.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + importlib_metadata                    7.0.0  hd8ed1ab_0          conda-forge       10kB
  + ipython                              8.18.1  pyh7428d3b_3        conda-forge      590kB
  + isoduration                         20.11.0  pyhd8ed1ab_0        conda-forge     Cached
  + brotli-python                         1.1.0  py311h12c1d0e_1     conda-forge      322kB
  + pywinpty                             2.0.12  py311h12c1d0e_0     conda-forge      221kB
  + pywin32                                 306  py311h12c1d0e_2     conda-forge        6MB
  + markupsafe                            2.1.3  py311ha68e1ae_1     conda-forge       29kB
  + debugpy                               1.8.0  py311h12c1d0e_1     conda-forge        4MB
  + psutil                                5.9.5  py311ha68e1ae_1     conda-forge      516kB
  + rpds-py                              0.13.2  py311hc37eb10_0     conda-forge      182kB
  + jsonpointer                             2.4  py311h1ea47a8_3     conda-forge       35kB
  + pyyaml                                6.0.1  py311ha68e1ae_1     conda-forge     Cached
  + pyzmq                                25.1.2  py311h9250fbb_0     conda-forge      491kB
  + tornado                               6.3.3  py311ha68e1ae_1     conda-forge     Cached
  + cffi                                 1.16.0  py311ha68e1ae_0     conda-forge      297kB
  + jupyter_core                          5.5.0  py311h1ea47a8_0     conda-forge      110kB
  + argon2-cffi-bindings                 21.2.0  py311ha68e1ae_4     conda-forge       35kB
  + urllib3                               2.1.0  pyhd8ed1ab_0        conda-forge       85kB
  + send2trash                            1.8.2  pyh08f2357_0        conda-forge     Cached
  + jinja2                                3.1.2  pyhd8ed1ab_1        conda-forge     Cached
  + referencing                          0.32.0  pyhd8ed1ab_0        conda-forge       39kB
  + terminado                            0.18.0  pyh5737063_0        conda-forge       23kB
  + jupyter_client                        8.6.0  pyhd8ed1ab_0        conda-forge      106kB
  + argon2-cffi                          23.1.0  pyhd8ed1ab_0        conda-forge     Cached
  + requests                             2.31.0  pyhd8ed1ab_0        conda-forge     Cached
  + jsonschema-specifications         2023.11.2  pyhd8ed1ab_0        conda-forge       16kB
  + jupyter_server_terminals              0.5.0  pyhd8ed1ab_0        conda-forge       20kB
  + ipykernel                            6.26.0  pyha63f2e9_0        conda-forge      117kB
  + jsonschema                           4.20.0  pyhd8ed1ab_0        conda-forge       72kB
  + nbformat                              5.9.2  pyhd8ed1ab_0        conda-forge     Cached
  + jsonschema-with-format-nongpl        4.20.0  pyhd8ed1ab_0        conda-forge        7kB
  + nbclient                              0.8.0  pyhd8ed1ab_0        conda-forge     Cached
  + jupyter_events                        0.9.0  pyhd8ed1ab_0        conda-forge       21kB
  + nbconvert-core                       7.12.0  pyhd8ed1ab_0        conda-forge      188kB
  + jupyter_server                       2.12.1  pyhd8ed1ab_0        conda-forge      321kB
  + jupyter-lsp                           2.2.1  pyhd8ed1ab_0        conda-forge       53kB
  + jupyterlab_server                    2.25.2  pyhd8ed1ab_0        conda-forge       49kB
  + notebook-shim                         0.2.3  pyhd8ed1ab_0        conda-forge     Cached
  + jupyterlab                            4.0.9  pyhd8ed1ab_0        conda-forge        5MB
  + notebook                              7.0.6  pyhd8ed1ab_0        conda-forge        3MB
  + rise                                  5.7.1  py311h1ea47a8_2     conda-forge        3MB

  Summary:

  Install: 130 packages

  Total download: 36MB

---------------------------------------------------------------------------------------------


Confirm changes: [Y/n] y
vs2015_runtime                                      17.0kB @ 108.1kB/s  0.2s
vc                                                  17.0kB @ 108.2kB/s  0.2s
wcwidth                                             32.4kB @ 206.9kB/s  0.2s
executing                                           27.7kB @ 151.7kB/s  0.2s
platformdirs                                        20.1kB @  97.6kB/s  0.1s
typing_extensions                                   36.1kB @ 171.6kB/s  0.1s
exceptiongroup                                      20.5kB @  90.0kB/s  0.1s
vc14_runtime                                       749.9kB @   2.8MB/s  0.3s
importlib_resources                                 30.0kB @ 113.3kB/s  0.1s
asttokens                                           28.9kB @ 102.7kB/s  0.1s
bleach                                             131.2kB @ 464.6kB/s  0.1s
markupsafe                                          29.5kB @  94.8kB/s  0.0s
jupyter_core                                       110.1kB @ 290.9kB/s  0.1s
brotli-python                                      322.1kB @ 840.0kB/s  0.2s
jupyter_client                                     105.8kB @ 263.9kB/s  0.1s
jupyter_events                                      21.4kB @  48.2kB/s  0.1s
jupyter-lsp                                         52.8kB @ 113.4kB/s  0.1s
ipykernel                                          116.9kB @ 243.3kB/s  0.1s
cffi                                               297.0kB @ 521.1kB/s  0.3s
mistune                                             66.0kB @ 115.3kB/s  0.1s
certifi                                            158.9kB @ 264.6kB/s  0.1s
traitlets                                          109.9kB @ 160.4kB/s  0.1s
importlib-metadata                                  26.1kB @  37.6kB/s  0.1s
prometheus_client                                   48.5kB @  68.7kB/s  0.1s
psutil                                             516.1kB @ 522.3kB/s  0.3s
ipython                                            590.1kB @ 553.3kB/s  0.4s
referencing                                         38.9kB @  36.0kB/s  0.1s
jupyter_server_terminals                            19.7kB @  17.4kB/s  0.1s
pyzmq                                              491.0kB @ 395.7kB/s  0.5s
nbconvert-core                                     188.1kB @ 151.4kB/s  0.2s
websocket-client                                    46.6kB @  35.1kB/s  0.1s
typing-extensions                                   10.2kB @   7.2kB/s  0.1s
python-fastjsonschema                              225.9kB @ 154.4kB/s  0.2s
importlib_metadata                                   9.5kB @   6.5kB/s  0.1s
debugpy                                              3.9MB @   2.6MB/s  1.2s
urllib3                                             85.3kB @  55.6kB/s  0.1s
notebook                                             3.1MB @   2.0MB/s  1.1s
jsonschema                                          71.9kB @  46.2kB/s  0.1s
jupyterlab_server                                   48.9kB @  30.7kB/s  0.1s
rpds-py                                            182.5kB @ 113.3kB/s  0.1s
charset-normalizer                                  46.6kB @  28.9kB/s  0.1s
jupyterlab_pygments                                 18.7kB @  11.4kB/s  0.1s
jsonschema-with-format-nongpl                        7.3kB @   4.3kB/s  0.1s
argon2-cffi-bindings                                34.7kB @  20.2kB/s  0.1s
pywinpty                                           220.5kB @ 128.0kB/s  0.1s
jsonpointer                                         34.7kB @  18.9kB/s  0.1s
jupyter_server                                     320.9kB @ 169.8kB/s  0.2s
terminado                                           22.9kB @  11.5kB/s  0.1s
pygments                                           860.4kB @ 429.7kB/s  0.4s
nest-asyncio                                        11.6kB @   5.6kB/s  0.1s
prompt-toolkit                                     270.4kB @ 130.9kB/s  0.2s
jsonschema-specifications                           15.7kB @   7.5kB/s  0.1s
anyio                                              100.2kB @  45.5kB/s  0.1s
jupyterlab                                           5.3MB @   1.9MB/s  1.7s
rise                                                 2.6MB @ 830.2kB/s  1.1s
pywin32                                              6.1MB @   1.6MB/s  1.8s
babel                                                7.6MB @   2.0MB/s  2.2s

Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(945): An error occurred while installing package 'conda-forge::rise-5.7.1-py311h1ea47a8_.Rolling back transaction: done
post-link script failed for package conda-forge::rise-5.7.1-py311h1ea47a8_2
location of failed script: C:\Users\straversaro\AppData\Local\miniforge3\envs\rise\Scripts\.rise-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:
stderr: '"C:\Users\straversaro\AppData\Local\miniforge3\envs\rise\Scripts\jupyter-nbextension.exe"' is not recognized a,operable program or batch file.

return code: 1

()


LinkError: post-link script failed for package conda-forge::rise-5.7.1-py311h1ea47a8_2
location of failed script: C:\Users\straversaro\AppData\Local\miniforge3\envs\rise\Scripts\.rise-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:
stderr: '"C:\Users\straversaro\AppData\Local\miniforge3\envs\rise\Scripts\jupyter-nbextension.exe"' is not recognized a,operable program or batch file.

return code: 1

()

Installed packages

not relevant, problem when the environment is created

Environment info

active environment : None
            shell level : 0
       user config file : C:\Users\straversaro\.condarc
 populated config files : C:\Users\straversaro\AppData\Local\miniforge3\.condarc
                          C:\Users\straversaro\.condarc
          conda version : 23.7.3
    conda-build version : 3.26.1
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.2=0
                          __win=0=0
       base environment : C:\Users\straversaro\AppData\Local\miniforge3  (writable)
      conda av data dir : C:\Users\straversaro\AppData\Local\miniforge3\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\Users\straversaro\AppData\Local\miniforge3\pkgs
                          C:\Users\straversaro\.conda\pkgs
                          C:\Users\straversaro\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\straversaro\AppData\Local\miniforge3\envs
                          C:\Users\straversaro\.conda\envs
                          C:\Users\straversaro\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.7.3 requests/2.31.0 CPython/3.10.12 Windows/10 Windows/10.0.22621
          administrator : False
             netrc file : None
           offline mode : False
@traversaro traversaro added the bug Something isn't working label Dec 14, 2023
@traversaro
Copy link
Author

Probably we need a fix similar to conda-forge/qgrid-feedstock#37 .

@traversaro
Copy link
Author

fyi @conda-forge/rise

@parmentelat
Copy link

parmentelat commented Dec 14, 2023

nbextension stands for notebook extension, it's something that was specific to notebook classic

if you can't find jupyter-nbextension it is very likely that you are running notebook 7 which runs on top of jupyterlab

and the documentation does state, right at the top here
https://rise.readthedocs.io/en/latest/#disclaimer
that rise does not support nb7

@traversaro
Copy link
Author

I see, thanks. So what is the best option in your opinion (I do not have a lot of experience with notebook):

  • Add a notebook<=6 constraint to the recipe (note that this probably would actually need to be done also via a repodata patch, otherwise the existing build will continue to be installed?
  • or add a dependency on nbclassic, as done for example on add nbclassic, fix postlinks qgrid-feedstock#37 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants