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 to set working directory for all Jupyter notebooks in notebooks folder to parent folder (vscode)?

I have this project structure: project --notebooks -notebook1.ipynb -notebook2.ipynb --utils -functions.py somefile.py I want to be able to import functions from utils folder into my notebooks. However the cwd for the notebooks is the…
0
votes
0 answers

Pasting over existing code in jupyter lab

I recently switched to jupyter lab. In a regular notebook, say I want to copy a bit of code and paste it over some existing code in the same or different cell without first manually erasing the second bit of code- I'm typically able to highlight…
0
votes
0 answers

RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`

RuntimeError Traceback (most recent call last) /tmp/ipykernel_77/2707828773.py in () 30 #反向传播 31 optimizer.zero_grad() ---> 32 loss.backward() 33 …
0
votes
0 answers

Highlighting functions in jupiter lab

I updated my computer, installed a new python and all the necessary libraries, all new versions. I go to jupiter lab, as a result I see something strange with the backlight. Keywords, variable values, functions or classes from libraries are…
Sotnikov
  • 101
0
votes
0 answers

Installing Jupyter Hub and Lab on a GCP VM

I opened an account on GCP and have set up a VM there using ubuntu v2204 and a static ip address. The firewall is set up to accept HTTP and HTTPS requests. I am trying to run jupyter lab on the vm and access it from a remote computer. I installed…
0
votes
0 answers

Jupyter-lab doesn't see installed packages

I've created a virtual env and installed needed libraries, but when I try to import them in Jupter-lab I get an error "ModuleNotFoundError". I am using 'venv' as a kernel, and when I run !pip list command in jupyter notebook it is showing me that…
maciejrum
  • 3
  • 1
0
votes
0 answers

Files created by Pandas df.to_csv() cause JupyterLab to throw File Load Error

Running this: pd.DataFrame([1,2,3]).to_csv("test.csv") in a .ipynb, and then trying to open "test.csv" yields File Load Error for test.csv. I really am not sure why, since this pretty much changed out of nowhere, and a correct view of "test.csv"…
Parker Broz
  • 13
  • 1
  • 1
  • 3
0
votes
1 answer

Run Jupyter Lab with user-defined settings from a config file

Similar to the question in here, I am trying to start a Jupyter Lab server with some custom settings (e.g. keyboard shortcuts, Notebook settings (e.g. autoclose brackets), dark themes). How do I write this settings file? How do I specify this when…
ajikodajis
  • 15
  • 4
0
votes
1 answer

How do I update to jupyterlab 4 using the Anaconda distribution?

I installed the most recent Anaconda distribution of Python that I downloaded here: https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.sh. I created a new environment named af that is a clone of the base environment: conda create…
Richard Herron
  • 9,760
  • 12
  • 69
  • 116
0
votes
0 answers

Pytdx does exist in Jupyter-lab, but it says that Pytdx is not a package

I run Python code in Jupyter-lab, I get a message: ModuleNotFoundError: No module named 'pytdx.crawler'; 'pytdx' is not a package. However pytdx is on my computer, in the python310 directory, when I run !pip show pytdx in jupyter lab, it shows…
Steven
  • 24,410
  • 42
  • 108
  • 130
0
votes
0 answers

Render notebook as Reveal slideshow in JupyterLab, 404 : Not Found

I have a JupyterLab notebook that I can export to Reveal.js slides just fine: it produces a nice html file that I am able to view in my browser. It looks like this: Now I want to take that same notebook and start a live slideshow in JupyterLab,…
Matematiflo
  • 101
  • 3
0
votes
1 answer

How to increase Kubeflow Jupyter notebook image name to see the complete path

I have a deployment of Kubeflow. During creation of Jupyter Notebook, we have image name tags that are longer than that can be displayed in the Docker image name list. See the image list in the attached image. Here the names are short, but for our…
Ranjit
  • 48
  • 5
0
votes
0 answers

Cannot running Yolov5 on Sagemaker when close the browser

Details I am currently training Yolov5 using my dataset on AWS Sagemaker. I have estimated that the training duration would be more than 8 hours or more (depends on the amount of epochs); which would be outside my working hours. I have set a…
curiouscheese
  • 117
  • 1
  • 9
0
votes
0 answers

How to open a jupyter notebook in read only mode?

Is there a way to view a jupyter notebook in read only mode? I'm trying to use a git repo to share notebooks and collaborate on analysis. The problem is the moment I open a co-workers notebook to review their work, the metatdata seems to be updated,…
Caleb
  • 3,839
  • 7
  • 26
  • 35
0
votes
0 answers

how to open jupyterlab in different (non default) browser?

I normally start JupyterLab on my Mac by typing jupyter lab in a Terminal window. This opens JupyterLab in Safari, as that is my default browser. My question is: How do I start JupyterLab in another browser, like Chrome, without setting Chrome as my…
Mark Bakker
  • 799
  • 1
  • 6
  • 15