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
12
votes
1 answer

JupyterLab: WebGL is not supported by your browser

When I'm trying to make 3D plots in JupyterLab using plotly, I sometimes get the error message: WebGL is not supported by your browser - visit https://get.webgl.org for more info What is going on here? Similar questions have been asked…
vestland
  • 55,229
  • 37
  • 187
  • 305
12
votes
2 answers

Downloading files in Jupyter: wget on Windows?

I am trying to download files from a url. I found wget command to be able to do that. Since I use Jupyter, I did not want to use pip, however conda install conda wget didn't work as there is no Windows wget in the default repository. Thus I did…
stinglikeabeer
  • 455
  • 1
  • 3
  • 11
12
votes
2 answers

How to change the color of text in markdown cell in JupyterLab

I'm trying to change the color of the text in all markdown cells. Actually, I can change the color of font applying HTML code but I have to be doing it in each cell and I would like default color to be different from white. I've seen that you can…
Rodrigo López
  • 403
  • 1
  • 4
  • 17
12
votes
1 answer

How to connect a Jupyter Notebook to a Spyder kernel?

The answer to the related post How to connect to an existing Jupyter Notebook kernel and inspect variables using the Variable explorer? seems to be that it's just not possible. But what if we try to connect a Jupyter Notebook to a spyder kernel?…
vestland
  • 55,229
  • 37
  • 187
  • 305
12
votes
2 answers

Jupyterlab and Plotly offline: requirejs is not defined

I installed plot.ly using conda and tried to use it in offline mode on Jupyterlab: from plotly.offline import init_notebook_mode init_notebook_mode(connected=True) The Firefox developer console displays the following error after those…
Khris
  • 3,132
  • 3
  • 34
  • 54
12
votes
1 answer

Jupyter lab failing to launch

I updated my conda environment today. Before, I could launch jupyter lab from the terminal. After the updates (which included installing theano, but I'm guessing that's unrelated), I get the following error that I do not…
Marcel
  • 185
  • 1
  • 1
  • 7
12
votes
3 answers

Install jupyterlab in pip3 throws 'TypeError: expected string or bytes-like object'

Background I was trying to install Jupyter Lab using pip3 install jupyterlab, and it threw the same error. I did not figure it out. Found a workaround using pip2 install jupyterlab -- it worked, but clearly was a bandaid fix. tried running import…
Jennings
  • 438
  • 5
  • 17
11
votes
6 answers

Loading custom conda envs not working in SageMaker

I have installed miniconda on my AWS SageMaker persistent EBS instance. Here is my starting script: #!/bin/bash set -e # OVERVIEW # This script installs a custom, persistent installation of conda on the Notebook Instance's EBS volume, and…
11
votes
2 answers

Exporting Jupyter notebook with plotly to html not displaying correctly when offline

I am using Jupyter lab, everything works fine within jupyter lab even when I am offline. However whenever I try to export the report to HTML. the plotly plots are not rendered. If I turn on my internet connection the plots are rendered, just…
Christian Andersen
  • 165
  • 1
  • 1
  • 8
11
votes
1 answer

Display tqdm in AWS Sagemaker's jupyterlab

Does anyone nows how can we have python tqdm progress bar working on a Sagemaker Jupyterlab Noteook ? The tqdm progress bar is never displayed, components are displayed as their code. Example : HBox(children=(FloatProgress(value=0.0, max=5234.0),…
jugo
  • 161
  • 2
  • 10
11
votes
7 answers

Jupyter Labs: "RuntimeError: npm dependencies failed to install" When Building

I'm new to using Anaconda and recently installed jupyter labs on my computer. However, any time I try to build on my local Jupyter Labs instance I get the following error: Code run in jupyter labs terminal: PS C:\Users\briakeit> jupyter lab…
Brian Keith
  • 255
  • 1
  • 3
  • 13
11
votes
2 answers

Interactive Jupyter Widgets not working in Jupyter Lab

I noticed that interactive widgets are not working in my Jupyter Lab notebooks. The following code should produce an interactive slider but doesn't: from ipywidgets import interact, interactive, fixed, interact_manual import ipywidgets as…
clstaudt
  • 21,436
  • 45
  • 156
  • 239
10
votes
3 answers

Plotly shows blank graphs in AWS Sagemaker JupyterLab

Background: I am new to the Python world and am using Plotly for creating basic graphs in Python. I am using AWS Sagemaker's JupyterLab for creating the python scripts. Issue: I have been trying to run the basic codes mentioned on Plotly's website…
10
votes
1 answer

pandas.read_clipboard from cloud-hosted jupyter?

I am running a Data8 instance of JupyterHub running JupyterLab on a server, and pd.read_clipboard() does not seem to work. I see the same problem in google colab. import pandas as pd pd.read_clipboard() errors out like…
Nathan Lloyd
  • 1,821
  • 4
  • 15
  • 19
10
votes
1 answer

Can a jupyter notebook find its own filename?

Is it possible for a jupyter notebook to get the name of its own file, similarly to what we would do from a python script? os.path.basename(__file__) doesn't seem to work, at least for me on jupyterlab sys.argv[0] returns…
Ziofil
  • 1,815
  • 1
  • 20
  • 30