chesterli29 / jupyterlab_tensorboard

Tensorboard extension for jupyterlab.
MIT License
315 stars 36 forks source link

Not support jupyterlab 3.X #28

Open wuyushuwys opened 3 years ago

wuyushuwys commented 3 years ago

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 commented 3 years ago

You could use jupyter lab 2.x if possible.

Data-drone commented 3 years ago

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

wexder commented 3 years ago

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

wexder commented 3 years ago

@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 commented 3 years ago

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.

wexder commented 3 years ago

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 commented 3 years ago

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

k-markov commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

when will " jupyter labextension install jupyterlab_tensorboard " work?

GajaKlaudel commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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

KevinRyu commented 3 years ago

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 commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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

k-markov commented 2 years ago

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 commented 2 years ago

Cool, it solved on jupyterlab==3.2

Johannes0Horn commented 2 years ago

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 commented 2 years ago

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

YuanJZhang commented 2 years ago

安装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 commented 2 years ago

the jokes are you