Comments (5)
@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.
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.
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 adev
or a more streamlined
production
build is used. This option will default toFalse
(ie the
production
build) for most users. However, if you have any labextensions
installed from local files, this option will instead default toTrue
.
Explicitly settingdev-build
toFalse
will ensure that theproduction
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.
Closing as answered.
Feel free to reopen a new issue if you have more questions!
from jupyterlab-python-file.
Yes, now it works just fine!
Thanks
from jupyterlab-python-file.
Related Issues (9)
- Is there anyway to do tab completion in this plugin HOT 3
- ValueError: No version of jupyterlab-python-file could be found HOT 1
- does this plugin allow path completion in python files? HOT 2
- Archive the repository? HOT 1
- Add context menu entry
- feature: code folding for python code (def, class, etc) HOT 2
- Can this plugin be used to execute.py files? HOT 3
- any equivalent for Julia? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-python-file.