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

Not support jupyterlab 3.X #28

Open
wuyushuwys opened this issue Jan 7, 2021 · 23 comments
Open

Not support jupyterlab 3.X #28

wuyushuwys opened this issue Jan 7, 2021 · 23 comments

Comments

@wuyushuwys
Copy link

wuyushuwys commented Jan 7, 2021

Current version doesn't support jupyterlab 3.x

Conflicting Dependencies:
JupyterLab Extension Package

=3.0.0 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/application
=3.0.0 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/apputils
=5.0.0 <5.1.0 >=4.0.0 <5.0.0 @jupyterlab/coreutils
=3.0.0 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/launcher
=6.0.0 <6.1.0 >=5.0.0 <6.0.0 @jupyterlab/services
=3.0.0 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/mainmenu
=3.0.0 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/filebrowser
=3.0.0 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/ui-components

@RW21
Copy link

RW21 commented Jan 14, 2021

You could use jupyter lab 2.x if possible.

@Data-drone
Copy link

This looks easy enough to follow: https://jupyterlab.readthedocs.io/en/stable/extension/extension_migration.html

@wexder
Copy link
Contributor

wexder commented Feb 22, 2021

I've created pull request that should solve this. #31

@wexder
Copy link
Contributor

wexder commented Feb 22, 2021

@Data-drone @RW21 It was merged. Now you can install it from git by running pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git, we need to update readme and publish package to pipy. But since I have never done that, I wasn't to do it now.
I tested it on my Mac, but currently, I can't figure out why I can't get it working on Windows. It doesn't want to start the tensorboard jupyter notebook extension.

@monsieurborges
Copy link

Hey @wexder, remember that in order to use Jupyterlab 3.x it will be necessary to solve the bug of error 500, which forces us to use tensorboard 2.2.1 (compatible only with jupyterlab 2.x).

The problem appears from tensorboard == 2.3 as reported by @NanoCode012 in #25.

@wexder
Copy link
Contributor

wexder commented Feb 25, 2021

Hi @mgomesborges, yes you are right. But I think there are already MR from ppl ready in the main repo for jupyter_tensorboard. I don't think we can do anything here. If I'm wrong let me know and I might look into the problem.

@marcelroed
Copy link

What's the status on this? Looking to use this notebook with the latest versions of tensorboard and Jupyter Lab.

@k-markov
Copy link

k-markov commented Apr 7, 2021

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

@tomvars
Copy link

tomvars commented Apr 26, 2021

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git

This worked for me!

@cailiang9
Copy link

when will " jupyter labextension install jupyterlab_tensorboard " work?

@GajaKlaudel
Copy link

@k-markov Do you think that order of libraries installation could matter?
Is it enough to just install TB, JupyterLab and your 2x pip installations?

Because in my case the error 500 still remains...

@k-markov
Copy link

@k-markov Do you think that order of libraries installation could matter?
Is it enough to just install TB, JupyterLab and your 2x pip installations?

Because in my case the error 500 still remains...

Error 500 may not be related to the extension. My order is JupyterLab (3.0.15), TF/TB (2.5), then jupyter-tensorboard (0.2.0) and jupyterlab-tensorboard (0.2.1). The last two are installed with pip as in my post before and they work.

@shoegazerstella
Copy link

Hi all,
is there any update on this?
I tried the solution proposed above but the error 500 still persists.
thanks!

@KevinRyu
Copy link

KevinRyu commented Jul 8, 2021

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

Hi. Thanks for your comments first.

Would you tell me how to install extension after the upper pip installation?
I run command "jupyter labextension install jupyterlab_tensorboard" on windows 10 cmd.
But error is the same as before.

An error occured.
ValueError: The extension "jupyterlab_tensorboard" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab Extension Package

=3.0.11 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/application
=3.0.9 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/apputils
=5.0.6 <5.1.0 >=4.0.0 <5.0.0 @jupyterlab/coreutils
=3.0.9 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/launcher
=6.0.9 <6.1.0 >=5.0.0 <6.0.0 @jupyterlab/services
=3.0.9 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/mainmenu
=3.0.11 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/filebrowser
=3.0.7 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/ui-components
See the log file for details: C:\Users...\AppData\Local\Temp\jupyterlab-debug-lfw3mns1.log

Is there any other tips? How can I see the tensorboard menu in the jupyterlab?

@KevinRyu
Copy link

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

Hi. Thanks for your comments first.

Would you tell me how to install extension after the upper pip installation?
I run command "jupyter labextension install jupyterlab_tensorboard" on windows 10 cmd.
But error is the same as before.

An error occured.
ValueError: The extension "jupyterlab_tensorboard" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab Extension Package

=3.0.11 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/application
=3.0.9 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/apputils
=5.0.6 <5.1.0 >=4.0.0 <5.0.0 @jupyterlab/coreutils
=3.0.9 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/launcher
=6.0.9 <6.1.0 >=5.0.0 <6.0.0 @jupyterlab/services
=3.0.9 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/mainmenu
=3.0.11 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/filebrowser
=3.0.7 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/ui-components
See the log file for details: C:\Users...\AppData\Local\Temp\jupyterlab-debug-lfw3mns1.log

Is there any other tips? How can I see the tensorboard menu in the jupyterlab?

Hi, I succeeded installation and operation in jupyterlab 3.0.15
I just followed tips from Mr. k-markov.

This is installation order what I tried.

  1. pip Installation jupyterlab & tensorflow
    Jupyterlab 3.0.15
    tensorflow-gpu 2.5

  2. Installation tensorboard
    pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
    pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

That's all.

@marongjin
Copy link

image
Hi, I'm using version 3.2.3 of JupyterLab, but I have the following problem installing jupyterlab_tensorboard.
image
I think this tip supports JupyterLab 3.X, but why the problem above?
image
Thanks!

@kylrth
Copy link

kylrth commented Mar 2, 2022

Nearly a year later and this update still needs to be pushed to whatever jupyter labextension install installs from.

@k-markov
Copy link

To get a working tensorboard extension for JupyterLab v3 and above use

pip install git+https://github.com/twalcari/jupyterlab_tensorboard.git

instead of

pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

Tested with JupyterLab v3.3.3 and TB 2.8.0.

@ShaohanTian
Copy link

Cool, it solved on jupyterlab==3.2

@Johannes0Horn
Copy link

For me using jupyterlab 3.2.9 and Tensorboard 2.4.1

pip install git+https://github.com/twalcari/jupyterlab_tensorboard.git results in error 500.

However
running both (don't know which one is relevant):

pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

works. Thank you guys!

@monsieurborges
Copy link

Hey @Johannes0Horn, Tensorboard 2.4.1 works with JupyterLab 2.x.

For JupyterLab 3.x try Tensorboard 2.8.0 instead.

Check out more details here: #25 (comment)

@YuanJZhang
Copy link

安装jupyterlab tensoboard 适配jupyterlab 3.2.9
centos 7.9 tensorflow 2.3.0+nv tensorboard 2.3.0 jupyterlab 3.2.9
我的系统本来装好tensorflow和tensorboard 不知道命令2是否会安装tensorflow和tensorboard 执行完三步骤不行的话可能是tensorflow和tensorboard没安装好
1预装环境
tensorflow or tensorflow-gpu >=1.3.0
安装完tensorflow会自动安装上tensorboard
2安装jupyter tensorboard(github被墙了多试几遍就可以了)
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
3安装jupyterlab tensorboard(github被墙了多试几遍就可以了)
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

@nyngwang
Copy link

nyngwang commented Jul 8, 2022

the jokes are you

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