jupyterlab_tensorboard icon indicating copy to clipboard operation
jupyterlab_tensorboard copied to clipboard

Not support jupyterlab 3.X

Open wuyushuwys opened this issue 3 years ago • 23 comments

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

wuyushuwys avatar Jan 07 '21 06:01 wuyushuwys

You could use jupyter lab 2.x if possible.

RW21 avatar Jan 14 '21 23:01 RW21

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

Data-drone avatar Feb 20 '21 06:02 Data-drone

I've created pull request that should solve this. https://github.com/chaoleili/jupyterlab_tensorboard/pull/31

wexder avatar Feb 22 '21 13:02 wexder

@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.

wexder avatar Feb 22 '21 18:02 wexder

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 https://github.com/chaoleili/jupyterlab_tensorboard/issues/25.

borgesnotes avatar Feb 24 '21 16:02 borgesnotes

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.

wexder avatar Feb 25 '21 12:02 wexder

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

marcelroed avatar Mar 02 '21 15:03 marcelroed

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

k-markov avatar Apr 07 '21 10:04 k-markov

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!

tomvars avatar Apr 26 '21 14:04 tomvars

when will " jupyter labextension install jupyterlab_tensorboard " work?

cailiang9 avatar May 12 '21 08:05 cailiang9

@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...

GajaKlaudel avatar May 19 '21 07:05 GajaKlaudel

@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.

k-markov avatar May 24 '21 08:05 k-markov

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

shoegazerstella avatar Jun 01 '21 11:06 shoegazerstella

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 avatar Jul 08 '21 04:07 KevinRyu

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.

KevinRyu avatar Jul 19 '21 05:07 KevinRyu

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!

marongjin avatar Feb 17 '22 03:02 marongjin

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

kylrth avatar Mar 02 '22 19:03 kylrth

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.

k-markov avatar Apr 21 '22 11:04 k-markov

Cool, it solved on jupyterlab==3.2

ShaohanTian avatar Apr 28 '22 07:04 ShaohanTian

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!

Johannes0Horn avatar Apr 28 '22 22:04 Johannes0Horn

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: https://github.com/chaoleili/jupyterlab_tensorboard/issues/25#issuecomment-799653174

borgesnotes avatar Apr 29 '22 05:04 borgesnotes

安装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

YuanJZhang avatar May 20 '22 03:05 YuanJZhang

the jokes are you

nyngwang avatar Jul 08 '22 04:07 nyngwang