ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab
See original GitHub issueI 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:
- Created 5 years ago
- Comments:16 (9 by maintainers)
Top GitHub Comments
@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
See the log file for details: /tmp/jupyterlab-debug-y6iwdcpx.log
See also https://github.com/jupyterlab/jupyterlab-toc/issues/156