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

Cannot install: "@webio/[email protected]" is not compatible with the current JupyterLab #424

Open
ShuhuaGao opened this issue Jul 22, 2020 · 9 comments

Comments

@ShuhuaGao
Copy link

The bug

System: Windows 10

[In Julia REPL]

julia> WebIO.install_jupyter_labextension()

The output is

[ Info: Using default Jupyter executable at `'C:\Anaconda3\Scripts\jupyter.exe'`; to use a different executable, see the documentation by running `?WebIO.install_jupyter_labextension`.
An error occured.
ValueError: No linked package for @webio/webio
See the log file for details:  C:\Users\GAOSHU~1\AppData\Local\Temp\jupyterlab-debug-sqxxs5yz.log
No labextension named "@webio/jupyter-lab-provider" installed
An error occured.
ValueError:
"@webio/[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab              Extension      Package
>=2.1.2 <2.2.0          >=1.0.1 <2.0.0 @jupyterlab/application
>=2.1.2 <2.2.0          >=1.0.1 <2.0.0 @jupyterlab/docmanager
>=2.1.2 <2.2.0          >=1.0.1 <2.0.0 @jupyterlab/notebook
>=2.1.1 <2.2.0          >=1.0.1 <2.0.0 @jupyterlab/rendermime
>=5.1.0 <5.2.0          >=4.0.1 <5.0.0 @jupyterlab/services
See the log file for details:  C:\Users\GAOSHU~1\AppData\Local\Temp\jupyterlab-debug-veul6mia.log
ERROR: failed process: Process(`'C:\Anaconda3\Scripts\jupyter.exe' labextension install --no-build @webio/[email protected]`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error at .\process.jl:525 [inlined]
 [2] run(::Cmd; wait::Bool) at .\process.jl:440
 [3] run at .\process.jl:438 [inlined]
 [4] install_jupyter_labextension(::Nothing; force_conda_jupyter::Nothing, condajl::Nothing, dev::Bool) at C:\Users\Gao Shuhua\.julia\packages\WebIO\nTMDV\deps\jupyter.jl:216
 [5] install_jupyter_labextension at C:\Users\Gao Shuhua\.julia\packages\WebIO\nTMDV\deps\jupyter.jl:196 [inlined] (repeats 2 times)
 [6] top-level scope at REPL[4]:1

Context

Pkg.status("WebIO")

Status `C:\Users\Gao Shuhua\.julia\environments\v1.4\Project.toml`
  [0f1e0344] WebIO v0.8.14

versioninfo(),

Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, ivybridge)

[Other possibly useful info]
where.exe jupyter (equiv. to which jupyter on Ubuntu)

C:\Anaconda3\Scripts\jupyter.exe

jupyter labextension list

JupyterLab v2.1.5
No installed extensions

Did the error mean that JupyterLab v2.1.5 is not supported yet? Can it be fixed? Thank you.

(Besides, WebIO.install_jupyter_nbextension() also failed but with a different error.)

@Paethon
Copy link

Paethon commented Jul 29, 2020

I have the same problem with the current jupyterlab 2.2.2 from the package repo in Arch

@Teo-ShaoWei
Copy link

I am met with the same issue... I managed to find the symptomatic cause in the following file:

"@jupyterlab/application": "^1.0.1",
"@jupyterlab/docmanager": "^1.0.1",
"@jupyterlab/docregistry": "^1.0.1",
"@jupyterlab/notebook": "^1.0.1",
"@jupyterlab/rendermime": "^1.0.1",
"@jupyterlab/services": "^4.0.1",

Which meant that Jupyterlab v1 is supported (and Jupyter services v4). However, Jupyterlab has since made a major version up to v2 (and Jupyter services to v5). To support that, we might need to use something like ^1.0.1 - 2 to meant that support will continue for the rest of v2.

However, there is a reason why sem ver is written the way it is. Every major version up might have interface changes that will break external compatibility. We would need to rely on someone who can test this authoritatively to make sure nothing breaks between WebIO and Jupyterlab v2 first before a PR to change those values.

@bicepjai
Copy link

I have the same problem with the current jupyterlab 2.1.0

@jlumpe
Copy link
Contributor

jlumpe commented Sep 27, 2020

Issue on jupyterlab 2.x compatibility: #397. Currently, it seems like the workaround is still to downgrade to 1.x.

@jarbus
Copy link

jarbus commented Feb 24, 2021

Still have this issue on 2.2.9

@jlumpe
Copy link
Contributor

jlumpe commented Feb 26, 2021

@jarbus which version of WebIO are you using? 0.8.15 should support jupyterlab v2.x but I am having issues getting it to work myself.

@jarbus
Copy link

jarbus commented Feb 27, 2021

@jlumpe v0.8.15

@jlumpe
Copy link
Contributor

jlumpe commented Feb 27, 2021

@jarbus Nevermind, the issues I was having ended up just being bugs in IJulia's display system. I am able to get it to work with WebIO 0.8.15 and jupyterlab 2.2.6. Were you having errors in the extension installation process?

@jarbus
Copy link

jarbus commented Feb 27, 2021

Interesting, just tried again and got no errors. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants