kernel

Visual Studio Code Jupyter not recognising conda kernel

Visual Studio Code Jupyter not recognising conda kernel Question: I created a new conda environment named ‘ct’ and installed Python 3.10.6, Jupyter Lab, matplotlib and numpy. Also the ipykernel is installed. VS Code lets me select Python 3.10.6 from ‘ct’ as interpreter without issues. VS Code select interpreter But I cannot choose ‘ct’ as kernel …

Total answers: 6

My code caused the kernel to restart. Why is the kernel restarting?

My code caused the kernel to restart. Why is the kernel restarting? Question: I wrote this for python code and got an unexpected output. The output was a number of zeros then it said "restarting kernel". Why is the kernel restarting? def countdown(n): for n in range(0,5): print(n) countdown(n-1) countdown(2) On the other hand, I …

Total answers: 3

Shutting down a remote kernel from Spyder

Shutting down a remote kernel from Spyder Question: I am using a remote kernel on a cluster, which I connect to using Spyder. For this, I start my kernel on the cluster with python -m spyder_kernels.console &. Then I copy transfer the *.json file that is created in the runtime directory of jupyter to my …

Total answers: 1

Jupyter Lab and Notebook Problem: Kernel Error

Jupyter Lab and Notebook Problem: Kernel Error Question: It appears that somehow one of my kernels is deleted. And perhaps that’s why I am getting this error. How could I possibly fix it? Can I reinstall something (the kernel in the base environment perhaps)? If no better option is available, I would try reinstalling anaconda …

Total answers: 3

How to make a circular kernel?

How to make a circular kernel? Question: For the Code below, I am wondering how to make a circular kernel instead of a rectangular one. I am currently looking at something circular, and I want to find the BGR average values for it. By adjusting my kernel, my data will be more accurate. for center …

Total answers: 4