jtpio / jupyterlab-python-file Goto Github PK
View Code? Open in Web Editor NEWJupyterLab extension to create Python files
License: BSD 3-Clause "New" or "Revised" License
JupyterLab extension to create Python files
License: BSD 3-Clause "New" or "Revised" License
I continue get following error. Could you please help me on this
`
jupyter labextension install jupyterlab-python-file 1 ↵ 1360 21:52:21
/usr/local/bin/npm pack jupyterlab-python-file
npm notice
npm notice 📦 [email protected]
npm notice === Tarball Contents ===
npm notice 1.5kB LICENSE
npm notice 0 style/index.css
npm notice 3.0kB lib/index.js
npm notice 1.2kB package.json
npm notice 790B README.md
npm notice 174B lib/index.d.ts
npm notice === Tarball Details ===
npm notice name: jupyterlab-python-file
npm notice version: 0.4.0
npm notice filename: jupyterlab-python-file-0.4.0.tgz
npm notice package size: 2.9 kB
npm notice unpacked size: 6.7 kB
npm notice shasum: 48b7e37febd9b18b6c4dc953573ae036c2cc1540
npm notice integrity: sha512-bXQmX6xjGWfDY[...]KtULNuMSRXpaA==
npm notice total files: 6
npm notice
jupyterlab-python-file-0.4.0.tgz
Errored, use --debug for full output:
ValueError: No version of jupyterlab-python-file could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package
=0.17.2 <0.18.0 >=2.0.0 <3.0.0 @jupyterlab/application
=0.17.3 <0.18.0 >=2.0.0 <3.0.0 @jupyterlab/filebrowser
=0.17.2 <0.18.0 >=2.0.0 <3.0.0 @jupyterlab/launcher`
path completion seems to work in the console. I'm new to the jupyter ecosystem. Path completion doesn't seem to work for me in notebooks either. Maybe this isn't available outside a console?
This is my first time I'm trying to use jupyter lab to create .py file, and I'm sure that I've followed the exact instruction of installation,
however I'm not able to do tab completion. I'm not sure if there any way to do this, could you please help in this.
Hi,
I was wondering if you'd know an equivalent extension to write .jl
(julia) file directly from the Jupyterlab editor? If not, is there a possibility to add support for Julia file from this extension?
Thanks
I tried to install the extension from the command line and got:
RuntimeError: npm dependencies failed to install
Jupyter Lab version: 2.0.1
Operating system: macOS High Sierra
Here is the log file
Node v13.13.0
Yarn configuration loaded.
> /opt/anaconda3/bin/npm pack jupyterlab-python-file
npm notice
npm notice 📦 [email protected]
npm notice === Tarball Contents ===
npm notice 1.5kB LICENSE
npm notice 0 style/index.css
npm notice 3.0kB lib/index.js
npm notice 1.2kB package.json
npm notice 790B README.md
npm notice 174B lib/index.d.ts
npm notice === Tarball Details ===
npm notice name: jupyterlab-python-file
npm notice version: 0.4.0
npm notice filename: jupyterlab-python-file-0.4.0.tgz
npm notice package size: 2.9 kB
npm notice unpacked size: 6.7 kB
npm notice shasum: 48b7e37febd9b18b6c4dc953573ae036c2cc1540
npm notice integrity: sha512-bXQmX6xjGWfDY[...]KtULNuMSRXpaA==
npm notice total files: 6
npm notice
jupyterlab-python-file-0.4.0.tgz
Node v13.13.0
Yarn configuration loaded.
Building jupyterlab assets (build:prod:minimize)
> node /opt/anaconda3/lib/python3.7/site-packages/jupyterlab/staging/yarn.js install --non-interactive
yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error Integrity check failed for "jupyter-matplotlib" (computed integrity doesn't match our records, got "sha512-cHvQJy7kreJzSGVs0VOGFKMm3Vg9+B8IGGp/p+edtvKfQGzv5KenWowSXl/59jmYyvwL29Wcr8lC6SnPy4jytA== sha1-d1ZbqFu394/HEbxyatFoDGoFeJw=")
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
npm dependencies failed to install
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
yield
File "/opt/anaconda3/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 105, in start
command=command, app_options=app_options)
File "/opt/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 460, in build
command=command, clean_staging=clean_staging)
File "/opt/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 652, in build
raise RuntimeError(msg)
RuntimeError: npm dependencies failed to install
Exiting application: jupyter
Thanks for this great extension. This is not an issue but rather a feature idea.
Is there a way to obtain code folding for Python file, liek folding code blocks of one indentation level? Is that something that would depend on this extension, or would that be at another place in Jupyter lab?
Since elyra provides an extension (@elyra/python-editor-extension
, which can be installed separately) to create and run Python files, we should consider archiving this repo stop development on jupyterlab-python-file
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.