Got the “Dead kernel” message from Jupyter Notebook on Windows - python-3.x

My PC crashed while I was running something on Jupyter Notebook, after that I always get the message "Dead kernel" when I try to use Jupyter Notebook, I even uninstalled and reinstalled and the problem persists.
This is the message I get:
This is where the problem starts, from the CMD:
What can I do? Please help... I need to do a homework with Jupyter Notebook...
The version I'm using is: Anaconda3-4.0.0-Windows-x86_64

Related

jupyter labs stopped importing packages from virtual environment

I'm using Jupyter Labs with a virtual environment. It previously recognized the environment and correctly installed the packages. A few days ago, it stopped importing some of the packages, although neither the virtual environment nor the kernel was changed.
The packages are pandas and transformers, and I can check that they're installed by running conda list after the environment is activated. I'm getting the error "module not found" in Juypter.
I've tried the following but I still get the error:
Stopped the session from the command line and restarted Jupyter
Tried a different virtual environment
Tried switching to a kernel based on the new environment
Read the documentation from JuypterLabs on troubleshooting but there are no new files.
However, the packages will install when I run commands directly from the terminal instead of from Juypter. I used conda to install all the packages, and when I run the jupyter --paths command it appears that everything is in order.
I'm not sure what the error is that's causing this behavior, or how to fix it. I'm using a Mac. Thanks in advance.

Jupyter not working in VSCode Virtual Envirronemnt

I am new to jupyter and right from start I am trying to run it in VSCode and that too with a virtual environment. I hope that is not too much for you guys.
So here are steps I did;
I installed python and vscode
Added Paths in windows and all virtual environment things work fine
For data processing I created new virtual environment 'DataProcessingVenv'
I opened this venv in Terminal in VSCode and installed Pandas
I did pip install Jupyter
I did pip install ipykernel
next did ipython kernel install --user --name=DataProcessingVenv
In VSCode I created new notebook
pressed Ctrl+Shift+P and selected interpreter as /DataProcessingVenv/Scripts/Python.exe
Now I am trying to read a csv present in same fodler where notebook is present but somehow it is not working. I really don't know what is wrong and where, even don't know if I have provided all required info to solve the issue. Please guide me it some more info is required or if I can do something to solve the issue. I am attaching the current image in VSCode with error at the end.
So at the end the solution was simple. But it took time to learn. I just had to run all previous cells in Jupyter to make the current cell work.

Troubleshooting Spyder launching

I tried installing spyder using anaconda website. I downloaded the file and installed everything but as I tried to launch Spyder, it got struck on 'loading editor'. I closed it and tried again but the same thing is coming. I have tried usual things like reinstalling but the problem still persists. Please help me.

Jupyter notebook will not open from command prompt

I am trying to work with Jupyter notebook on Windows 10 (64-bit). I downloaded Anaconda3 5.0.1. Now I should be able to open the jupyter notebook from the command prompt by typing jupyter notebook. However I get the following error:
The only way I am able to open jupyter notebook is from the Anaconda navigator. However, I would like to change the directory from which the notebook opens and none of the solutions here How to change the Jupyter start-up folder work if I cannot open jupyther from the command prompt. I have already tried uninstalling and reinstalling anaconda, but that did not change anything.
This error is because you didn't set environment after installing Anaconda.
Go through following steps to solve this issue
Search in start "Edit the system environment variable" and open it.
Click environment variables button
Go to there and add 2 directory path where you installed Anaconda
i.e. 1. C:\ProgramData\Anaconda3
2. C:\ProgramData\Anaconda3\Scripts
Hope this will solve your error :)
If you have:
Jupiter installed directly from Python (not anaconda)
PATH already configured (in case of not, you can do it manually from Windows system advanced menu)
try with: py -m jupyter notebook
It should work ;)

Terminal unavailable in Jupyter

I installed Jupyter notebook with Python 3, It works fine and I point to my python3 from the New. Then I close it and when I open it again the option terminal is changed to Terminal unavailable and python3 is appeared as python[root]. Any idea why?
This link says it's because windows does not have TTY-based terminal support
https://github.com/jupyter/notebook/issues/172

Resources