Questions tagged [jupyter-lab]

JupyterLab is a web application that provides a frontend to many different languages and interactive shells such as IPython. JupyterLab enables you to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components. You can arrange documents side by side using tabs and splitters. It supports Markdown, Python, R, LaTeX, images, CSV, JSON, PDF, Vega etc. Use this tag for questions related only to JupyterLab.

2575 questions
0
votes
0 answers

How install variable inspector in Jupyterlab >= 4.0?

Is there a way to install inspector variable in Jupyterlab >=4.0? I tried installing inspector variable extensions in Jupyterlab 4.0.2 but an incompatible message is shown during installation and only with Jupyterlab >=3.x and <4.x is supported.
Berg A.
  • 1
  • 1
0
votes
0 answers

My Jupyter Notebook added two linebreaks in some of my comments, deleting some parts and thus breaking execution

I use Jupyter lab and today when I tried executing my notebook I ran into errors caused by some of the comments beeing splitted and moved to the next line. I did not run any formatters on the notebook. Has someone experienced this behaviour…
0
votes
0 answers

How to know programmatically when a script is done running in Jupyter Lab Terminal (Jupyter Lab Extension)

I am writing a jupyter lab extension that has a menu dropdown with different buttons. If you click on the buttons, it will open up a new terminal and execute a specific script. I want to know when the script is done running in that terminal so I…
ssnyc
  • 11
  • 2
0
votes
0 answers

Giving user input to interactive command line tool from jupyter notebook

Many command line utilities do certain things and then wait for user input before proceeding further. I was trying one such utility but inside jupyter notebook. But let me give an example of reading variable command. I typed ! read var in jupyter…
MsA
  • 2,599
  • 3
  • 22
  • 47
0
votes
0 answers

How to display JupyterLab interface in a FastAPI web app route?

I am building a FastAPI web app that is similar to Kaggle and Google Colab. When the user logs in, the user is routed to the page where JupyterLab interface should show, so that the user can code, execute, save the notebook, etc. It's similar to…
0
votes
0 answers

How to make a pretty HTML using sos jupyter notebook

I've tried everything. The coolest libraries out there (pretty-jupyter, quarto, rmarkdown,...) seem not to be working with sos-notebooks, it's really a pain. Any idea how to create a dynamic, pretty html file? thanks
Saaa
  • 11
  • 2
0
votes
0 answers

pySpark failed to load my data - Py4JJavaError

Jupyter Lab I installed PySpark using !pip two days ago, and it was working perfectly fine. However, today I encountered an issue while trying to execute a task that required processing the entire dataset to obtain the results. Not only did the task…
0
votes
0 answers

jupyterlab_code_formatter: multi-line list in code, specify items/characters per line?

jupyterlab_code_formatter installed for Jupyter lab Black, isort, YAPF, Autopep8 added for jupyterlab_code_formatter Question: which config should I twist if I want the auto-formatted list to not be one item per line. # what it is doing now…
0
votes
2 answers

Can't connect to Atoti session or website

So, I want to mess around with atoti. I installed the library but I can't connect to session. I can't connect to the session using jupyter, and if I use google colab, I can't connect to the website. I don't know what's going on nor can I find any…
0
votes
1 answer

How to manipulate CSS of JupyterLab 3.6.1 for Git section?

I am using JupyterLab 3.6.1 and in the section with the GUI for Git I have the following annoying behavior. As you can see there is a scrollbar on the right side which appears if I hover over the button. This makes it difficult to hit the button…
mosc9575
  • 5,618
  • 2
  • 9
  • 32
0
votes
0 answers

alternatives to eval_js (in Google Colab) for Jupyter Notebooks(Binder)

I am trying to connect Jupyter Notebook (provided by Binder) with ROS in my laptop using rosbridge server from rosbridge_suite. Previously I was able to connect it to Google Colab by using following script(using roslibjs), from IPython.display…
0
votes
0 answers

Jupyter Lab / Notebook No Kernals Avaliable

When running jupyterlab this error is given [W 2023-07-10 12:42:10.705 ServerApp] Error loading kernelspec 'python3' Traceback (most recent call last): File "/home/hawve005/.local/lib/python3.8/site-packages/jupyter_client/kernelspec.py",…
0
votes
1 answer

How to activate jupyterlab-vim for jupyter-lab-4.0.2?

I try to run the install command pip install jupyterlab-vim, which I found in https://github.com/jupyterlab-contrib/jupyterlab-vim#install Result of executing jupyter labextension list: messages: JupyterLab…
theabc50111
  • 421
  • 7
  • 16
0
votes
0 answers

Can't connect to my kernel in jupyter-lab on GitHub Codespaces

I am setting up GitHub Codespaces for my project. I have my .devcontainer configuration with a following Dockerfile: FROM condaforge/mambaforge:latest RUN apt-get update && apt-get install sudo gcc --yes && apt-get clean RUN mamba install -c…
maciek
  • 1,807
  • 2
  • 18
  • 30
0
votes
0 answers

Why do appearances of ">>>" in multiline strings disappear in JupyterLab?

I have a multiline string that I want to contain three > characters like a = ''' >>> test1 >>> test2 ''' However, I see that after running this cell, a equals '\ntest1\ntest2\n'. Running the equivalent code in Python doesn't cause this problem. As…
Neil
  • 1,275
  • 11
  • 25