-
Notifications
You must be signed in to change notification settings - Fork 164
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
Extensions build error #118
Comments
It looks like the current version of jupyter-matplotlib works with the current version of JupyterLab. See the comment below for jupyterlab 2. |
Actually, if you are using jlab 2, you'll now need to use an older version of jupyter-maplotlib. See https://github.com/matplotlib/ipympl#install-an-old-jupyterlab-extension: |
Since this is a repo for a tutorial at one point in time, the instructions may be out of date at a later point in time, as apparently happened here. Ideally the instructions would be updated to pin all versions as they were when the tutorial was given, or even more ideally, someone will give the tutorial again at some point and update the instructions to current packages. |
@jasongrout I resolved the issue as follows: Firstly, the So I used the However, with jlab version 3, readers should SKIP the I don't know exactly, but it seems like all the extensions are covered by installing jlab 3 through If readers install all the Seems to work! Thank you. |
Realized the above was ambitious - ipyleaflet throws errors on jlab 3 still (I saw on Gitter it was released for jlab 3 just last week?) Your solution for jlab 2 works perfectly and I was able to finish the tutorial. |
ipympl and ipyleaflet broke support for jlab 2, unintentionally. I am actually working on fixing it as I am writing.
This is odd though. Would you mind opening an issue on ipyleaflet showing the steps you followed and which error you had? |
Sounds good |
Never mind Martin, I didn't realize requirements.txt for the tutorial had specified ipyleaflet==0.13.6 is working fine with the tutorial on jlab 3. Thanks! |
Good! Happy it works for you |
I thoroughly enjoyed the SciPy 2019 JupyterLab tutorial and was looking forward to going through the SciPy 2019 Widgets tutorial in the same way. But it's strange to me that the 2019 version of the Widgets tutorial is no longer available -- or am I missing something? It seems I'm forced to use this 2020 version (I find the 2020 video less helpful), and yet when I tried to go through the setup, I saw errors similar to matt1hong. But I didn't want to use the pip solution he mentions because I'm just learning how to work within environments and don't know how to do it outside of conda. I spent hours trying to get set up but never could. The widgets never showed up when I used the notebooks. Is there any other way I can get those notebooks to work? They look great in the videos, but I'm just not experienced enough to get them working -- which, of course, is why I'm going through tutorials ;) |
You can still find the 2019 video here: https://www.youtube.com/watch?v=HaSpqsKaRbo&t=5249s. This repository has not changed much since so you can use it while following the video. JupyterLab 3 came out not so long ago and lots of widgets libraries are not updated. If you stick to JupyterLab 2 and the versions specified here you should be fine. |
While running this command:
jupyter labextension install @jupyter-widgets/jupyterlab-manager @jupyter-widgets/jupyterlab-sidecar bqplot jupyter-threejs [email protected] ipysheet ipytree ipycanvas jupyter-matplotlib jupyter-vuetify ipyvolume Check your installation
I get the error:
Building jupyterlab assets (build:prod:minimize) An error occured. RuntimeError: npm dependencies failed to install See the log file for details: /tmp/jupyterlab-debug-anyv5l79.log
The log file has errors of this sort:
So far I've tried reinstalling node and jupyter within the environment.
The text was updated successfully, but these errors were encountered: