Giter Site home page Giter Site logo

Comments (5)

jtpio avatar jtpio commented on July 22, 2024 1

@gioarma would you be able to try with JupyterLab 3.0, which was released about a month ago?

With 3.0, this extension does not require NodeJS anymore, and can be installed with:

pip install jupyterlab-python-file

from jupyterlab-python-file.

jtpio avatar jtpio commented on July 22, 2024

error Integrity check failed for "jupyter-matplotlib"

It looks like the issue comes from another extension.

Did you try to install the extension with jupyter labextension install jupyterlab-python-file?

What is the output of jupyter labextension list?

from jupyterlab-python-file.

gioarma avatar gioarma commented on July 22, 2024

Yes I used jupyter labextension install jupyterlab-python-file.
If I run jupyter labextension list I get:

JupyterLab v2.0.1
Known labextensions:
   app dir: /opt/anaconda3/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        @jupyterlab/toc v3.0.0  enabled  OK
        @lckr/jupyterlab_variableinspector v0.5.0  enabled  OK
        @pyviz/jupyterlab_pyviz v1.0.0  enabled  OK
        jupyter-matplotlib v0.7.2  enabled  OK
        jupyterlab-python-file v0.4.0  enabled  OK

Build recommended, please run `jupyter lab build`:
    jupyterlab-python-file needs to be included in build

This is what I get if I run jupyter lab build:

*Jupyter Lab Build*
[LabBuildApp] JupyterLab 2.0.1 [LabBuildApp] Building in /opt/anaconda3/share/jupyter/lab [LabBuildApp] Building jupyterlab assets (build:prod:minimize) Build failed. Troubleshooting: If the build failed due to an out-of-memory error, you may be able to fix it by disabling the `dev_build` and/or `minimize` options.

If you are building via the jupyter lab build command, you can disable
these options like so:

jupyter lab build --dev-build=False --minimize=False

You can also disable these options for all JupyterLab builds by adding these
lines to a Jupyter config file named jupyter_config.py:

c.LabBuildApp.minimize = False
c.LabBuildApp.dev_build = False

If you don't already have a jupyter_config.py file, you can create one by
adding a blank file of that name to any of the Jupyter config directories.
The config directories can be listed by running:

jupyter --paths

Explanation:

  • dev-build: This option controls whether a dev or a more streamlined
    production build is used. This option will default to False (ie the
    production build) for most users. However, if you have any labextensions
    installed from local files, this option will instead default to True.
    Explicitly setting dev-build to False will ensure that the production
    build is used in all circumstances.

  • minimize: This option controls whether your JS bundle is minified
    during the Webpack build, which helps to improve JupyterLab's overall
    performance. However, the minifier plugin used by Webpack is very memory
    intensive, so turning it off may help the build finish successfully in
    low-memory environments.

An error occured.
RuntimeError: npm dependencies failed to install
See the log file for details: /var/folders/87/1q6mszb91qq42k6ltj_yzv380000gn/T/jupyterlab-debug-a_o2pn4w.log

from jupyterlab-python-file.

jtpio avatar jtpio commented on July 22, 2024

Closing as answered.

Feel free to reopen a new issue if you have more questions!

from jupyterlab-python-file.

gioarma avatar gioarma commented on July 22, 2024

Yes, now it works just fine!
Thanks

from jupyterlab-python-file.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.