25,062 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
62
views
Python SQLAlchemy: Integrity Error UNIQUE constraint failed despite no duplicates [closed]
Summary
I'm trying to save some data I have in a CSV to a SQLite database using SQLAlchemy in a Jupyter Notebook. When trying to flush or merge the session data for the junction tables, I receive an ...
-1
votes
1
answer
56
views
How do I fix the jupyter notebook search box error "TypeError: can't access property "length", child is undefined"?
Once in a while, I get "TypeError: can't access property "length", child is undefined" in the search box of Jupyter Notebook, so that searching does not work anymore.
Settings:
...
0
votes
0
answers
42
views
401 Client Error: Unauthorized for url: https://www.kaggle.com/api/v1/kernels/push [closed]
Got the above error when pushing a notebook from my local machine(mac) to kaggle with the below command
kaggle kernels push
beforehand, I have successfully initialized the kernel-metadata.json with ...
2
votes
1
answer
111
views
Debugging Jupyter Notebook in VS Code
I tried to debug a notebook in VS Code but I can't. When I set a breakpoint and run debug cell or press F5, I am getting this error
/usr/bin/env /home/user/anaconda3/envs/myenv/bin/python /home/user/....
0
votes
1
answer
83
views
Why doesn't the np.dot() method work with my arrays?
I am using jupyter notebook and numpy with the intention of making a program that orthonormalizes any given base following the Gram-Schmidt method for linear algebra.
Why doesn't the np.dot() method ...
0
votes
0
answers
65
views
IOPUB Data rate exceeded in Pycharm
I'm using jupyter notebooks via pycharm and I'm running into an issue where the program is saying the following:
" IoPub data rate exceeded.
The jupyter server will temporarily stop sending ...
0
votes
1
answer
85
views
Markdown escape
I tried to display original code: $\sim$ in my jupyter notebook.
I thought that $ can be eacaped in the beginning time, so I used \$\sim\,ドル it displayed ~ later.
Then I tried \\$\sim,ドル it displayed $\...
0
votes
0
answers
53
views
Using jupterlab-sidecar (or similar) within VSCode notebook
So VSCode (Cursor) allows one to use notebooks within it. A very nice widget for JupyterLab is this jupyterlab-sidecar, which allows one to split the screen and do things like visualize a map and ...
0
votes
0
answers
28
views
MyST not building site URI malformed error
I am trying to update a site build on jupyter notebooks from the version 1 to the version 2 following this tutorial
It creates the myst.yaml succesfully but when it start building the notebooks and md ...
0
votes
1
answer
121
views
Can we edit .py files in VSCode and use Google Colab extension to run them on Google servers like Jupyter Notebooks?
I have just get my hands dirty with VSCode's extension Google Colab (by Google).
While I can connect to google servers for running Jupyter Notebooks (.ipynb files), Is there a way to use VSCode ...
0
votes
0
answers
67
views
Jupyter kernel times out waiting for ports after VS Code 1.106.3 update (Python 3.12.4, Windows 11)
Environment OS: Windows 11 Pro 24H2
VS Code: updated to 1.106.3 (problem started after update)
Python: 3.12.4 (installed at C:\Program Files\Python312\python.exe)
Jupyter in VS Code: using the built-...
0
votes
0
answers
39
views
Whitespace at the bottom of Jupyter Notebooks in Pycharm 2025年2月5日
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 ...
0
votes
1
answer
72
views
If I do a magic command, %run file, does that run the script as main? If so how do I get around this?
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 ...
0
votes
0
answers
39
views
I am using JupyterLite to run some python code. And there is a specific cell which is not executing as desired
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 ...
0
votes
0
answers
73
views
Rendering matplotlib figure in VSCode (Jupyter) like fig.savefig
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) ...