Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

I switched from using JupyterLab in my browser to Jupyter Notebooks in Pycharm itself since it has improved since my last version. However, I find it quite disturbing that there is a lot of whitespace ...
Confituur's user avatar
  • 495
0 votes
0 answers
27 views

When displaying a plot via Jupyter Notebook in VSC (newest version, 1.106.3) the graph is getting rendered in the right upper corner, and the labels in the lower left corner. I already restarted VSC ...
Milan N's user avatar
0 votes
1 answer
56 views

I have a .ipynb file and want to only import certain functions from it to another .ipynb file. if I use: if __name__ == "__main__": would the script run what is under that if statement ...
user31922730's user avatar
0 votes
1 answer
35 views

I try to run jupiter notebook with docker. I run this in my terminal: docker run -it -v $(pwd):/home/optimus/localwork --workdir /home/optimus/localwork -p 8888:8888 optimuslib/optimus:latest I ...
O Oz's user avatar
  • 11
0 votes
0 answers
34 views

When I run the cell below, and there is no file with the same name as filename, it executes perfectly. But on subsequent runs, if there exists a file with the same name, the kernel gets busy and ...
Shubham Patel's user avatar
0 votes
0 answers
55 views

Problem When saving a matplotlib figure using fig.savefig(), the figure looks different from when the figure is rendered in a Jupyter Notebook. Question How can I render a static (non-interactive) ...
Heisenbugs's user avatar
1 vote
0 answers
81 views

I wrote a notebook on Kaggle and imported a dataset. The main content of the notebook is as follows: %%bash pip install xxx # Install dependencies if [ ! -d "/kaggle/working/latex-ocr-...
YourSun's user avatar
  • 11
0 votes
0 answers
40 views

I am analysing some data using dask distributed on a SLURM cluster. I am also using jupyter notebook. I am changing my codebase frequently and running jobs. Recently, a lot of my jobs started to crash....
Yatharth's user avatar
0 votes
1 answer
132 views

I want to setup an environment in a Jupyter notebook where parameters are stored in a dictionary parValue and where you can change values of one or several parameters with a function par(), while ...
janpeter's user avatar
  • 1,166
1 vote
0 answers
159 views

I need to to run a series of pre-trained fine-tuned models from Hugging Face to Jupyter notebook. I have updated to the latest version of both PyTorch and Transformers, but when I run the code from ...
Alex Colville's user avatar
0 votes
1 answer
105 views

In a Jupyter Notebook, I make use of a Jupyter Widget to interact with a function. The widget gives me a dropdown that can cycle through some plots, and its options are retrieved from a dataframe. ...
sybren osinga's user avatar
1 vote
0 answers
76 views

I'm having a problem passing the font size that I chose within the itables package to be the font size that Quarto will use for that specific table. What I'm doing currently is options.lengthMenu = [5]...
Thomas Petit's user avatar
1 vote
0 answers
98 views

In the Umbrella-sampling gromacs tutorial jupyter notebook, it stuck in running gmx mdrun for a day. Is it supposed to be like this? This is the gromacs tutorial jupyter notebook cell for running gmx ...
Yeseo Kim's user avatar
0 votes
1 answer
55 views

Can someone help explain what is going on, and how to fix it so I don't have too put a <span> in every link. I am actually writing some .md files and using Juypter to display it in its final ...
frankr6591's user avatar
  • 1,267
0 votes
1 answer
78 views

Every time I run any pygame code in Jupyter Notebook (the online demo) it just crashes, giving an error that I've looked for everywhere, to no avail. I'm using the Pyodide Kernel, which apparently ...
3pics1ash's user avatar
0 votes
0 answers
70 views

I have just tried a lot of things but i can't fix it. I am trying to run a simple strands tool calculator in 3 different jupyter environments and I always get the same error "Error: LookupError ...
Manuel Lamelas's user avatar
3 votes
1 answer
63 views

I regularly run jupyter notebook for tinkering with python projects (usually related to data analytics). It would be helpful if the jupyter "Home" page (the file system browser window) would ...
Matt Baldwin's user avatar
2 votes
0 answers
60 views

Is there any python package to compute ekman velocities in the water column from wind data observations? I have wind direction and velocity on an specific location and I would like to obtain a ...
Eva Chamorro Garrido's user avatar
3 votes
2 answers
150 views

import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation #plt.rcParams["animation.html"] = "jshtml" import matplotlib.pyplot as plt fig, ax = plt.subplots(...
Bertrand Wittgenstein's Ghost's user avatar
1 vote
0 answers
198 views

EDIT: the issue is resolved (kinda). Check GitHub discussion. It turns out that there are possibly two problematic factors. First (my case), the newest version of Jupyter extension. When I switched ...
Soren V. Raben's user avatar
0 votes
1 answer
107 views

I'm currently working on a thesis project using jupyter notebook on a remote cluster. After running my code I'm not able to save anything anymore and I keep getting the following error:[Errno 28] No ...
Nicolò Fiaba's user avatar
2 votes
2 answers
131 views

I’m trying to run a .ipynb notebook in VS Code with Python 3.11.0. I have already installed the Jupyter extension and Python extension in VS Code. Everything works fine when I run the same code as a ....
newbiedev's user avatar
16 votes
2 answers
4k views

I use Python 3.11.1 and Jupyter Notebook to run code selections or lines in the Interactive Window for debugging or coding purposes. A few days ago, everything was working fine, and I didn't have any ...
newbie's user avatar
  • 121
-1 votes
1 answer
46 views

Following an update of Python and Jupyter extensions on my VS Code yesterday, my virtual environment dependencies haven't been working properly. My Vscode setup has been demanding that I install ...
ObePeter92's user avatar
2 votes
1 answer
312 views

I'm using VSCode version 1.105.0. I want to run some Python code in Jupyter Notebook. To do this, I need to install ipykernel, which I do after activating venv (pip install ipykernel). Next, I execute ...
Piotr Otreba's user avatar
7 votes
2 answers
2k views

So recently I wanted to work with Jupyter notebooks in VS Code, but I ran into an activation error with the Jupyter extension. I’m using: VS Code version: 1.104.3 Jupyter extension version: 2025.8.0 ...
Sahil Singhai's user avatar
-1 votes
1 answer
59 views

I am working in Jupyter Notebook with pandas, and I noticed something strange. In one cell , I did this: import pandas as pd df1 = pd.DataFrame({"A":[1,2,3]}) df2 = df1 Then in another ...
Gouri Phadnis's user avatar
0 votes
0 answers
52 views

I followed the instructions from https://stackoverflow.com/a/58134257/31654471: (qiskit) C:\Users\erick> ipython kernel install --user --name=qiskit Installed kernelspec qiskit in C:\Users\erick\...
Eric's user avatar
  • 1
0 votes
1 answer
34 views

In Jupyter Notebooks (both in VS Code and JupyterLab), every markdown heading (like #, ##, etc.) automatically appears in the Table of Contents (TOC) or Outline view. Sometimes, I want to include ...
Rub's user avatar
  • 2,946
1 vote
0 answers
61 views

We're developing a VSCode extension that works with Jupyter notebooks and need to run integration tests in CI/CD. The main issue is that when running integration tests, VSCode prompts the user to ...
Aurelien Bloch's user avatar
0 votes
1 answer
124 views

I am using Jupyter Notebook inside an Anaconda virtual environment and I have a notebook with multiple plots using matplotlib and pandas DataFrames with styled formatting. When I try to export the ...
Gouri Phadnis's user avatar
0 votes
1 answer
75 views

My goal is to have a PEP8 linter that highlights style violations while I'm editing Python notebooks on my Windows 10 computer. I've installed pylsp as a JupyterLab extension. It's working, except ...
David Wasserman's user avatar
2 votes
1 answer
106 views

With iPython, is there any way to clear output from all cells? I am looking for a command that can do it in one shot. I see that clear_out like below can do the cleaning work, but it works for one ...
ThomasIsCoding's user avatar
0 votes
1 answer
61 views

I'm using a Jupyter notebook as a tutorial for a command-line tool. However, I noticed that regardless of whether I use a shell command (!) or line magic (%), an error does not cause the cell to fail, ...
Adam Stewart's user avatar
  • 2,233
1 vote
1 answer
132 views

On Windows 11 I had jupyter lab running before (on PowerShell), but now it seems to be gone. I installed and reinstalled jupyter lab: pip uninstall jupyterlab pip install jupyterlab but this does not ...
Alex's user avatar
  • 45k
-1 votes
1 answer
57 views

Every Jupyter notebook I open seems to use a constant 900-1200 MB of RAM continuously. Where is most of this overhead coming from? It seems to be relatively independent of the contents of the notebook,...
biohacker's user avatar
  • 150
2 votes
1 answer
78 views

I'm taking an online course, and I was trying to follow this code from the instructor. But I alway get an error message. This is the code I tried: import pandas as pd # Replace 'your_excel_file.xlsx' ...
jeffrey's user avatar
  • 135
0 votes
0 answers
53 views

I am currently working on an interactive UI in Jupyter Notebook based mainly on IPy Widgets to feature 3D interactive models created and exported previously using Blender. I used an HTML 3D model ...
user31384551's user avatar
0 votes
0 answers
55 views

I created a virtual environment called "fastai" by conda. I tried to install ipywidgets in it by mamba install ipywidgets Then I checked it and it did exist. But when I used jupyter --...
Alex YAN's user avatar
2 votes
1 answer
221 views

[Problem solved] When I try to open jupyter notebook in cmd/power shell I get the following error: Fatal error in launcher: Unable to create process using '"c:\users\NAME\appdata\local\programs\...
SleepingUgly's user avatar
0 votes
1 answer
296 views

I tried to use DDGS to search for images in Jupyter Notebook with fastai, but the search seems to be not very stable. Most of time there turned out to be an ERROR:DDGSException: No results found.I ...
Alex YAN's user avatar
0 votes
0 answers
31 views

When invoking interactive_output in a python notebook, the function given to it is being called many times at each invokation. This problem happens in the notebook editor of vscode. In collab it shows ...
alex's user avatar
  • 1,123
2 votes
1 answer
102 views

I am using the update plotly version 6.3.0 and im trying to plot a simple stock close price in 1year period. The uploaded image is the graph output, how it can be seen its not right. Im also in ...
user30126350's user avatar
0 votes
0 answers
76 views

Summary I am trying to create a widget to read sensor data from a usb device within a Jupyter Notebook. I have tried both matplotlib ipywidgets, Dash-plotly, and Bokeh. When re-executing the widget ...
Wenzel Kinsky's user avatar
0 votes
0 answers
50 views

So I import a module: from IPython.core.debugger import Pdb Then I initiate an object for debugging: ipdb = Pdb() I define a function to test debug mode: def f(a=1): ipdb.set_trace() print(a)...
cloudscomputes's user avatar
0 votes
0 answers
36 views

I'm using JupyterLab 4.4.5 and want to view both the File Browser and the Table of Contents at the same time in the sidebar. I don't want to move one to open two sidebars, I want both visible in the ...
Robert Chang's user avatar
0 votes
1 answer
65 views

So I import a module: from IPython.core.debugger import Pdb Then I initiate an object for debugging: ipdb = Pdb() I define a function to test debug mode: def f(a=1): ipdb.set_trace() print(a)...
cloudscomputes's user avatar
0 votes
0 answers
184 views

I'm following Karpathy's Makemore tutorial step by step. When I get to the part where he uses plt.imshow(N) to create a plot inside the notebook, my kernel crashes. I've been troubleshooting this for ...
Mark Cramer's user avatar
  • 2,904
0 votes
4 answers
174 views

I have a dataframe that has the number 6 in each row. Which will be my main number I would like to use to find values that appear most often with the number 6 that has more than 2 of the same values. ...
Chris's user avatar
  • 63
0 votes
1 answer
100 views

I'm trying to run an async function inside a Jupyter Notebook using asyncio.run() like this: import asyncio async def my_task(): await asyncio.sleep(1) return "Done" asyncio.run(...
Salika Ansari's user avatar

1
2 3 4 5
502