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
17
votes
4 answers

How to dockerize Jupyter lab

I'm trying to dockerize the Jupyter Lab and so I tried to create a Dockerfile as below, FROM python:3.6 WORKDIR /jup RUN pip install jupyter -U && pip install jupyterlab EXPOSE 8888 ENTRYPOINT ["jupyter", "lab"] and run the commands, docker…
user7321541
16
votes
1 answer

prevent jupyterlab from automatically starting new session for all open tabs

I shut down all kernels and close jupyterlab in the browser, but when I open it again it starts a session, and a kernel, for all opened notebooks I'd followed the code and found that in jupyterlab notebook code the start session function calls (POST…
Amin Sabbaghian
  • 391
  • 1
  • 8
16
votes
3 answers

Downloads folder from JupyterLab

I'd like to download a folder of pickle files from Jupyterlab (running on a google cloud instance) and I'm unable to find a way to do so. Apparently, downloading individual files is permitted but I have about 500 individuals pickle files in my…
Alex Martin
  • 507
  • 1
  • 3
  • 9
16
votes
1 answer

How to reset Tensorboard when it tries to reuse a killed Windows PID

Apologies if two days' frustration leaks through... Problem: can't reliably run Tensorboard in jupyter notebook (actually, in Jupyter Lab) with %tensorboard --logdir {logdir} and if I kill the tensorboard process and start again in the notebook it…
Julian Moore
  • 918
  • 3
  • 11
  • 21
15
votes
1 answer

How to enable VIM mode for editing notebooks in jupyter-lab?

I'm new to jupyter lab. In settings -> text editor key map it has a vim option which, when enabled, allows me to edit .py files with vim-style editor. However, this behavior does not carry over to .ipynb files. How can I enable this for all files…
Jatentaki
  • 11,804
  • 4
  • 41
  • 37
14
votes
1 answer

Is there a way to run Jupyter Notebooks Without Anaconda?

I deleted Anaconda because it was causing more issues than solving in working with other editors like Sublime, PyCharm, etc... In class, we have a lot of Jupyter notebooks. Is there a program that allows me to run Jupyter Notebooks just like…
14
votes
2 answers

Long running Jupyter notebook/lab?

I have Jupyter running in a tmux session on an ec2 instance. I have very long-running cells, but when I close my browser or laptop lid, the notebook no longer writes output cells (and may crash the python kernel). This is how I launch labs on my…
M.R.
  • 1,053
  • 2
  • 13
  • 30
14
votes
4 answers

JupyterLab: Run all cells below

In the Jupyter Notebook I could use the following command to automatically execute all cells below the current cell. from IPython.display import Javascript display(Javascript('IPython.notebook.execute_cells_below()')) However, this doesn't seem to…
Markus Gutbrod
  • 141
  • 1
  • 1
  • 5
14
votes
4 answers

Slideshow editing with Jupyter Lab

The new Jupyter Lab is great, but I am missing the option to turn cells into slides. In classic Jupyter Notebooks, that was under "View > Cell Toolbar > Slideshow": What happened to the feature? Is there a way to edit slides in Jupyter Lab?
clstaudt
  • 21,436
  • 45
  • 156
  • 239
13
votes
2 answers

Debugger Warning from ipython: Frozen Modules [python 3.11]

I created a new environment using conda and wanted to add it to jupyter-lab. I got a warning about frozen modules? (shown below) ipython kernel install --user --name=testi2 0.00s - Debugger warning: It seems that frozen modules are being used,…
Elijah
  • 133
  • 1
  • 7
13
votes
2 answers

How can I comment out multiple cells in Jupyter Ipython / JupyterLab notebook?

How can I comment out multiple cells in Jupyter Ipython / JupyterLab notebook? The code is in Python. The keyboard shortcuts Ctrl + / on Microsoft Windows and Cmd + / on Mac OS X only work if the selected code is within one cell. However, if I…
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501
13
votes
1 answer

Python tqdm import check if jupyter notebook or lab is running

I have a module (tqdm) that I need to import differently depending on whether I'm running my .ipynb in a jupyter notebook or jupyter lab environment. Is there way that I can determine this in python? For example: if : from tqdm…
Austin
  • 6,921
  • 12
  • 73
  • 138
13
votes
3 answers

Exit insert mode in the JupyterLab using vim keybindings

I am using both the console and text editor within JupyterLab, and I set the text editor keymap to 'vim' and i can edit text just fine when in insert mode. But when trying to exit insert mode using the 'esc' key I just get toggled out of the current…
The Nightman
  • 5,609
  • 13
  • 41
  • 74
12
votes
2 answers

unreadable Jupyter Lab Notebook after upgrading pandas (Capture Validation Error)

I was recently using Jupyter lab and decided to update my pandas version from 1.2 to the latest (1.4). So I ran 'conda update pandas' which seemed to work fine. However when I then launched Jupyter lab in the usual way 'jupyter lab' and tried to…
Yudkowsky90
  • 135
  • 1
  • 5
12
votes
1 answer

Load markdown file on a jupyter notebook cell

I know about the existance of the %load markdown_file.md magic command but this will load the content of the file on the first run of the cell. If the file changes, the cell won't be updated. Does anyone know if it is possible to avoid this problem…
Paolo Squadrito
  • 235
  • 2
  • 9