question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab

See original GitHub issue

I tried to update Python to 3.7 and I’m still running into a similar problem to the one described in issue #26.

Here is the complete set of steps I took:

conda --version
conda 4.5.8

conda create -n py37 jupyterlab python=3.7
source activate py37
conda install -c conda-forge nodejs

python --version
Python 3.7.0

jupyter --version
4.4.0

jupyter lab --version
0.32.1

jupyter labextension install @jupyterlab/toc

And the result:

jupyterlab-toc-0.3.1.tgz

Errored, use --debug for full output:
ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension        Package
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/application
>=0.16.4 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/apputils
>=1.1.3 <2.0.0          >=2.0.0 <3.0.0   @jupyterlab/coreutils
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/docmanager
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/fileeditor
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/notebook
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/rendermime

I don’t understand how to read the table of conflicting dependencies.

My interpretation goes like this:

  • @jupyterlab/toc requires @jupyterlab/application to be 0.17.0 or newer, but it must be older than 0.18.0

  • @jupyterlab/application requires jupyterlab to be 0.16.3 or newer, but it must be older than 0.17.0

Is that right? I don’t think so, because my jupyterlab is 0.32.1, which is newer than all of the requirements listed in the table.

So, I’m confused and don’t understand how to read this or how to debug it any further.

I’d like to ask the following questions:

  • What is the correct interpretation of the conflicting dependencies table?

  • What steps can I take to work around this issue? Is this a problem with my system? Or is it a bug in the package?

Thanks for any help!

jupyter labextension install --debug @jupyterlab/toc
jupyter labextension install --debug @jupyterlab/toc
Searching ['/PHShome/ks38', '/PHShome/ks38/.jupyter', '/data/srlab/slowikow/src/miniconda2/envs/py37/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /data/srlab/slowikow/src/miniconda2/envs/py37/etc/jupyter
Looking for jupyter_config in /PHShome/ks38/.jupyter
Looking for jupyter_config in /PHShome/ks38
> /data/srlab/slowikow/src/miniconda2/envs/py37/bin/npm pack @jupyterlab/toc
npm notice
npm notice 📦  @jupyterlab/toc@0.3.1
npm notice === Tarball Contents ===
npm notice 2.1kB  package.json
npm notice 1.5kB  LICENSE
npm notice 1.2kB  README.md
npm notice 304B   lib/extension.d.ts
npm notice 3.2kB  lib/extension.js
npm notice 1.6kB  lib/generators.d.ts
npm notice 12.4kB lib/generators.js
npm notice 81B    lib/index.d.ts
npm notice 373B   lib/index.js
npm notice 2.1kB  lib/registry.d.ts
npm notice 1.3kB  lib/registry.js
npm notice 3.2kB  lib/toc.d.ts
npm notice 4.9kB  lib/toc.js
npm notice 1.4kB  style/index.css
npm notice === Tarball Details ===
npm notice name:          @jupyterlab/toc
npm notice version:       0.3.1
npm notice filename:      jupyterlab-toc-0.3.1.tgz
npm notice package size:  9.5 kB
npm notice unpacked size: 35.5 kB
npm notice shasum:        0e46f30a3f99174b3e460448968ecc2bc6501496
npm notice integrity:     sha512-nWhBFajzgK5UM[...]EXQK0f7bwxxng==
npm notice total files:   14
npm notice
jupyterlab-toc-0.3.1.tgz
Fetching URL: https://registry.npmjs.org/@jupyterlab%2Ftoc
Fetching URL: https://registry.npmjs.org/@jupyterlab%2Ftoc
Traceback (most recent call last):

  File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 71, in start
    ans = self.run_task()

  File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 100, in run_task
    for arg in self.extra_args

  File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 100, in <listcomp>
    for arg in self.extra_args

  File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/commands.py", line 227, in install_extension
    return handler.install_extension(extension)

  File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/commands.py", line 366, in install_extension
    info = self._install_extension(extension, tempdir)

  File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/commands.py", line 1157, in _install_extension
    raise ValueError(msg)

ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension        Package
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/application
>=0.16.4 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/apputils
>=1.1.3 <2.0.0          >=2.0.0 <3.0.0   @jupyterlab/coreutils
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/docmanager
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/fileeditor
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/notebook
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/rendermime


Errored, use --debug for full output:
ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension        Package
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/application
>=0.16.4 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/apputils
>=1.1.3 <2.0.0          >=2.0.0 <3.0.0   @jupyterlab/coreutils
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/docmanager
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/fileeditor
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/notebook
>=0.16.3 <0.17.0        >=0.17.0 <0.18.0 @jupyterlab/rendermime

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
numeric-leecommented, Apr 19, 2021

@markellekelly jupyter lab verison 1.2.3

$ jupyter labextension install jupyterlab-toc
An error occured.
ValueError: This extension does not yet support the current version of JupyterLab. Conflicting Dependencies: JupyterLab Extension Package

=1.2.1 <1.3.0 >=0.16.0 <0.17.0 @jupyterlab/application
=1.2.1 <1.3.0 >=0.16.2 <0.17.0 @jupyterlab/apputils
=3.2.0 ❤️.3.0 >=1.0.0 <2.0.0 @jupyterlab/coreutils
=1.2.1 <1.3.0 >=0.16.0 <0.17.0 @jupyterlab/docmanager
=1.2.1 <1.3.0 >=0.16.0 <0.17.0 @jupyterlab/fileeditor
=1.2.2 <1.3.0 >=0.16.0 <0.17.0 @jupyterlab/notebook
=1.2.1 <1.3.0 >=0.16.0 <0.17.0 @jupyterlab/rendermime
=16.8.4 <16.9.0 >=16.2.0 <16.3.0 react
=16.8.4 <16.9.0 >=16.2.0 <16.3.0 react-dom

See the log file for details: /tmp/jupyterlab-debug-y6iwdcpx.log

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install jupyterlab-execute-time extension
I'm using Jupyter Lab version 3.0.14. Extension Installation Error Extension Installation Error An error occurred installing <code>jupyterlab- ...
Read more >
Installation — JupyterLab 3.6.0b0 documentation
If you use pip , you can install it with: pip install jupyterlab. If you are using a macOS version that comes with...
Read more >
@jupyterlab/toc - npm
JupyterLab - Table of Contents widget. Latest version: 5.5.0, last published: 16 days ago. Start using @jupyterlab/toc in your project by ...
Read more >
확인 부탁 드립니다. 아무것도 못하고 있네요. | 질문 & 답변
"ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab.
Read more >
jupyterlab/jupyterlab - Gitter
ValueError : No version of @jupyter-widgets/jupyterlab-manager could be found that is compatible with the current version of JupyterLab.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found