man-group / jupyterlab-autoplot

Magical Plotting in JupyterLab
BSD 3-Clause "New" or "Revised" License
65 stars 9 forks source link

Error installing plugin -- is there a version requirement for jupyterlab? #10

Open jeffneuen opened 3 years ago

jeffneuen commented 3 years ago

Attempting to install on a fairly recent miniconda, tried with both python 3.6 with jupyerlab installed via pip, and python 3.9 with jupyterlab installed via conda. Jupyterlab 3.0.10 for the python 3.9 env. Received this error message in both cases:

$ jupyter labextension install @mangroup/jupyterlab-autoplot-display
An error occured.
ValueError: The extension "@mangroup/jupyterlab-autoplot-display" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension      Package
>=3.0.6 <3.1.0          >=1.0.0 <2.0.0 @jupyterlab/application
>=3.0.5 <3.1.0          >=1.2.8 <2.0.0 @jupyterlab/mainmenu
>=3.0.6 <3.1.0          >=1.2.9 <2.0.0 @jupyterlab/notebook

Is there a specific version of jupyterlab that is required?

janusyjy commented 3 years ago

Attempting to install on a fairly recent miniconda, tried with both python 3.6 with jupyerlab installed via pip, and python 3.9 with jupyterlab installed via conda. Jupyterlab 3.0.10 for the python 3.9 env. Received this error message in both cases:

$ jupyter labextension install @mangroup/jupyterlab-autoplot-display
An error occured.
ValueError: The extension "@mangroup/jupyterlab-autoplot-display" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension      Package
>=3.0.6 <3.1.0          >=1.0.0 <2.0.0 @jupyterlab/application
>=3.0.5 <3.1.0          >=1.2.8 <2.0.0 @jupyterlab/mainmenu
>=3.0.6 <3.1.0          >=1.2.9 <2.0.0 @jupyterlab/notebook

Is there a specific version of jupyterlab that is required?

same here

I tried downgrading the Lab version, but it still wont work.

The need widget jupyterlab-manager cannot be successfully installed in a lower than 2.0.0 version of Jupyter lab

it seems that the required widgets:

@jupyter-widgets/jupyterlab-manager and @mangroup/jupyterlab-autoplot-display cannot be integrated in same verstion of Jupyter Lab. The former one needs a higher version while the latter needs a lower version.

hope this could be fixed

HLatte commented 2 years ago

Same issue as well. Any chance to fix this issue?

aflag commented 2 years ago

Hello, this extension currently works with jupyterlab 2.0.0. We haven't got around to support a newer version of jupyterlab yet. Contributions are always welcome :)

kernelpanek commented 2 years ago

What I did to work around the error was fork this repo and experiment with a fix. While there are many changes from Jupyterlab 2.x to 3.x, I decided just to bump the versions in the Javascript package to match Jupyterlab 3.x components and attempt to avoid the error. After updating the component versions, I ran the instructions set in the README.md file and I was able to get the extension working. It might not be absolutely perfect, but both the graph and d-tale views seemed to work.