8,085
questions
1
vote
1
answer
35
views
Debugger for Python C extension using Jupyter notebooks
Are there any good debuggers specifically for Jupyter Notebooks?
I'm building a C extension for python, it implements a well established algorithm that operates on a set of arrays to produce a single ...
0
votes
1
answer
28
views
Jupyter Notebook Kernel dying constantly
I have been writing a code in Jupyter Notebook the whole day but the Kernel keeps on dying again and again. This mainly happened because of Openml library when I executed this code
credit_data = ...
0
votes
0
answers
39
views
python jupyter simplify equality with 2 expression doesn't work and cannot put equation in two lines
From this code :
Declare symbols :
from sympy import *
r,l,c=symbols('r,l,c', real=True)
The first equation :
b=sqrt(2)*sqrt((-r**2/l + 2/c)/l)/2
display(b.simplify())
display(b.subs({r:1,l:2,c:3}))
...
0
votes
0
answers
9
views
How to hide/remove file bowser context menu items and disable some commands in jupyter lab custom extension?
I tried to modify the existing context menu in the following way and the item length is always zero which means menu items are empty in my custom extension.
const { contextMenu } = app;
const ...
0
votes
0
answers
19
views
How to Share data between a Jupyter Notebook (.ipynb file) and a custom JupyterLab extension?
Data sharing between jupyter notebook to custom typescript extension
//notebook code
`
from ipykernel.comm import Comm
# Open a communication channel
comm = Comm(target_name='extension_comm')
# Send ...
0
votes
0
answers
17
views
File Corruption Problem in Jupyter Notebook (PyCharm)
I’m working with Jupyter notebooks in PyCharm, and I’ve noticed that every time I shut down PyCharm, the Jupyter notebook file gets corrupted when I try to reopen it.
I found that if I clear the ...
0
votes
0
answers
54
views
Installing JupyterLab on Debian 12
Good afternoon!
I want to use JupyterLab, but cannot succeed in installation of it for long time...
My system:
> lsb_release -d && uname -r
No LSB modules are available.
Description: ...
0
votes
0
answers
22
views
Restricting the size of output of a code-cell when using Jupyter extension in VS Code
Even when editing the setting of VS Code called "notebook.output.scrolling" to "true", the output of a code-cell in a notebook (i.e. file with extension ".ipynb") does ...
0
votes
0
answers
18
views
How do I resolve extensions incompatibility in the notebook
I installed the nbextensions tab in my notebook but can't access the extensions. Instead I get a warning sign showing that they are incompatible despite being listed.
I tried downgrading to notebook 5....
0
votes
1
answer
71
views
JupyterAI Local LLM Integration
I have a locally hosted Llama 3.1 70b model running on our server at the address: 10.1xx.1xx.50:8084/generate. Since there is no API key required for this setup, I use the following code to get ...
0
votes
1
answer
37
views
Missing Character Error in Latex during Jupyter Notebook to PDF export
I'm attempting to export a Jupyter notebook (in a local instance of JuypterLab) to a PDF. The PDF contains some logical symbols that latex can't find so it giving an error for each of them:
Missing ...
0
votes
0
answers
14
views
Can I push objects to a Jupyter Kernel
I'm working on a project in which I'm executing code from an LLM in a Jupyter Kernel to play around with and iterate on. I'm using the jupyter-client library to instantiate a kernel and allow the LLM ...
0
votes
0
answers
35
views
I can't open Jupyter with command showing the given error
C:\Users\USER>jupyter notebook
[I 2024-09-09 11:00:35.491 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-09-09 11:00:35.507 ServerApp] jupyter_server_terminals | extension was ...
0
votes
0
answers
19
views
How to get working dependencies in jupyter notebook/lab using rise (reveal.js) + ipycanvas + ipywidgets
I simple run this code in a jupyter notebook/lab cell:
from ipycanvas import Canvas
from ipywidgets import Button
from IPython.display import display
WIDTH = 200 # px
HEIGHT = 200 # px
# Create a ...
0
votes
1
answer
33
views
Jupyter Lab throws "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)" from workspaces handler
I'm on Windows. Have been using Jupyter Lab for a while with no problems. Very recently, every time I launched Jupyter, it errored out as such:
[W 2024-09-08 02:02:06.730 ServerApp] 500 GET /lab/api/...