Questions tagged [jupyter-extensions]

21 questions
2
votes
0 answers

How to activate websocket connection between Dataproc JupyterLab and python-lsp-server/python-language-server through component gateway

It looks like the WebSocket connection between GCP Dataproc JupyterLab and LSP server (python-lsp-server) is blocked. Is there any way to customise initialisation actions on Dataproc cluster to forward this WebSocket connection to the gateway URL…
2
votes
0 answers

Build Failed with 500 and jupyter lab build is not working either

I am trying to install an extension for JupyterLab, but I keep getting the "Build Failed" message. It looks like the image below: I have tried running 'jupyter lab build' as well, but I get another error. The error message looks like the image…
Vishwa
  • 55
  • 1
  • 5
2
votes
1 answer

Jupyterlab extension jupyterlab_templates not finding template files

I'm trying to work with the jupyterlab_templates extension. For some reason, it's not finding the corresponding template files, even though I've set the correct path? When running jupyter lab, it finds the extension and confirms the search path I…
emilaz
  • 1,722
  • 1
  • 15
  • 31
1
vote
1 answer

How to launch Jupyter with custom extension using a docker

I am trying to launch, via docker, a jupyterlab with a custom extension(extensionTest). However, I haven't been successful. Can someone tell me how can i do it? Or put here an example? What is the best base docker image to use? Thank you Best…
1
vote
0 answers

How do I prevent this error during building an extension for jupyter lab?

I am finding a difficulty in the following extension tutorial for jupyter labs. While building the tutorial using pip install -ve I have the following error run(npm_cmd + ["run", build_cmd], cwd=str(abs_path)) File…
1
vote
0 answers

Problems with Fortran-magic and other jupyter lab extensions

I am originally a Fortran programmer, if anything. Last year I begun learning python and now I wanted to use fortranmagic to have a wrapper of f2py, but it is not working. Let me describe the steps I took and the resulting error messages, hoping for…
Jorge Alonso
  • 103
  • 11
1
vote
1 answer

How can I make anaconda automatically install jupyterlab extensions in every new environment I create?

I would like to have the exact same setup of jupyterlab in every new anaconda environment. Just like I can define some default packages to be installed when creating an environment with conda config --add create_default_packages package1 package2 I…
Mateusz
  • 17
  • 5
1
vote
0 answers

VS Code: Can't run Python Interactive Window. Failed to run jupyter as observable with args

When I'm using VSCode, I can't open python interactive window. Following are my steps: My VSCode is connected to a centos7 virtual environment using SSH. The user is root. So when I open a python file, and want to run it in the interative window by…
1
vote
1 answer

How to use events in jupyterlab extensions?

I would like to listen to cell events of JupyterLab notebooks (version 3.2.0) in a custom extension. How can I do so? a) Searching the documentation on "events" did not give helpful…
Stefan
  • 10,010
  • 7
  • 61
  • 117
0
votes
0 answers

No Jupyter extensions installed

I've installed several Jupyter Lab extensions following the instructions for each, but when I jupyter labextension list, I see nothing, and when I jupyter server extension list I get: Config dir: /Users/Rax/.jupyter Config dir:…
orome
  • 45,163
  • 57
  • 202
  • 418
0
votes
0 answers

Error when plotting in Jupyter Lab with @interact and JavaScript issue

I'm encountering an error while trying to plot in Jupyter Lab using the @interact decorator. When I execute my code, I receive the following JavaScript error message: Failed to load model class 'VBoxModel' from module…
0
votes
0 answers

Is there a JupyterLab-compatible JS library to watch files?

I am currently working on a JupyterLab extension, and I have been getting through the whole official documentation for days now. I want to make an extension that watches specific files for changes in JupyterLab's scope. For example, let's say my…
0
votes
1 answer

JupyterLab Extension Tutorial: Error when creating new widgets using @lumino/widgets and @jupyterlab/apputils

I am following the JupyterLab Extension Tutorial and came across the following error when trying to create new widgets. The related codes: import { ICommandPalette, MainAreaWidget } from '@jupyterlab/apputils'; import { Widget } from…
0
votes
1 answer

Jupyter update custom extensions when modifying YAML file

I'm working on an extension for Jupyter (not JupyterLab), and I'm having issues refreshing its YAML file. When I modify it (for example, adding a parameter), I update the extension with jupyter nbextension enable test/main, but after that,…
Benco
  • 55
  • 1
  • 9
0
votes
1 answer

Jupyter Lab Extension: Is it possible to create a new tab from another tab in my extension?

I am building a jupyter lab extension. I have managed to create an extension which opens a tab from the launcer. From this tab, I want a user to be able to click on a feature and be navigated to a new tab. Is this possible? I am new to jupyter lab…
1
2