I downloaded Anaconda Navigator months ago and have been using it to launch Jupyter Notebooks. Recently, I was trying to import Graphviz to visualize a decision tree and had a ton of trouble getting the package to work. I tried following various command line instructions that I read on forums, but somewhere in following some of those instructions, I must have completely messed up my conda environment. I am no longer able to open Anaconda. I tried uninstalling it and reinstalling (followed the directions for uninstalling it from the Anaconda documentation page). Everytime I try to reinstall it, it says the installation has failed or that it already exists on my computer.
I gave up on Anaconda and went ahead installing Jupyter Notebooks on its own. This worked just fine and I'm able to launch a kernel, but every time I try to execute code, it says the kernel has died and will automatically restarted.
I have gone down many rabbit holes...any help would be greatly appreciated!
The navigator was working fine till about November and then it stopped working after I installed Cuda 10.0. I uninstalled Cuda and that did nothing. I uninstalled anaconda and reinstalled it but that did nothing. There is no error message or feedback at all when I click the icon or right-click and run. The python shell works but none of the guis work. I tried updating the navigator and that did not solve the issue. I also read all the other posts about the navigator not working I could find. When I tried installing another navigator, the navigator opened but the GUI had all broken buttons. I was too busy to deal with the issue at the time but now that I have the time I want to get back. Also something to note, the anaconda version that worked was 3.4, none of the newer versions have worked on my PC ever.
I am a beginner python programmer.
Today when I was using jupyter notebook using anaconda navigator in my windows 10 machine but suddenly my screen became blue and loading screen appeared saying that some sort of error occurred then my computer restarted.
After restarting, my anaconda navigator got lost and anaconda prompt appeared in the start menu.I clicked but it said anaconda 3 system cannot find the path specified.
I tried reinstalling anaconda several times but nothing changed. Then reinstalled python still no change. I thought may be anaconda prompt needs to be deleted, so I deleted it. Now nothing appears on the start menu which I can use to start anaconda navigator no matter how many times I reinstall it.
I even tried to reinstall jupyter using PIP3 but installation fails. I really don't know how I am going to run .ipybn files.
I was able to use jupyter notebook 4 days ago. The only thing that changed was there was a firefox version update.
After that the server crashes everytime .ipynb files are opened. Even the directory will have a server error. I tried it both on Firefox and Google Chrome, both browsers will crash the server.
My only kernel is python3 and it always says "Kernel Busy". I tried resetting my pc and the jupyter notebook, but nothing seems to work.
The console showed:
The last 2 lines are causing the crash but I don't know how to fix it
When I type conda install jupyter in the anaconda prompt, I get something before it finishes as shown below. Maybe it might have a cause as to why it is having issues:
I created a new python environment and installed python, matplotlib, pandas, jupyter and it still crashes
Please uninstall and re-install all the below items:
ipykernel
ipython
jupyter_client
jupyter_core
traitlets
ipython_genutils
Additionally, if you're going to install with conda, follow below command.
run conda clean -tipsy
This command will clean up conda caches before you start.
Reference:
https://github.com/jupyter/notebook/issues/1892
Do you let Jupyter start the browser? If so, disable that and start the browser manually. I don't see how the zmq error messages could be related to the browser startup, but since you say that the only change was a browser update, that's worth a shot.
Check which version of pyzmq is installed. If Jupyter Notebook and the kernel are in different conda envs, check both and make sure they are on the same version and build. Try upgrading or downgrading to different versions. According to Anaconda issue 8932, there are problems with pyzmq on Windows. And a new build for win32 was released about two weeks ago - though I would expect win64 builds to be used nowadays.
I also found some recommendations for a similar error message to yours in Spyder issue 6097. The first one is to try without firewall and/or antivirus. You might have picked up a new firewall rule unknowingly. Trying different versions of pyzmq is also mentioned there.
I am sharing this solution in case someone needs it in the future.
I have just faced the same problem a hour ago. This was the message I was getting in the terminal. And the jupyter keeps restarting.
ModuleNotFoundError: No module named 'html.entities'; 'html' is not a package
[I 00:44:32.436 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
After Searching through the internet when I can not find the solution. I fixed it by removing the .HTML files I had in the directory. After moving those file jupyter started working parfectly.
I just had a similar problem - for me, it was casued by a non-existing %temp% directory (I have %temp% mapped to a ram disk, and the temp folder on it wasn't created yet).
Creating the folder pointed to by %temp% solved the issue.
All my environments were working totally fine but suddenly after restarting the system, the jupyter notebook from an environment was not opening or it was suddenly crashing. Tried form anaconda prompt but getting "Unable to create Process...
All my DL dependencies were on this environment and I didn't want to create new environment completely installing all the required dependencies.
Solution: I opened the Anaconda Navigator and cloned old_env to new_env and it worked magically. I could able to open the jupyter notebook successfully and all dependencies were working fine. Hope it helps
I recently installed the Anaconda Navigator (Anaconda 2) on a Windows 8.1 machine.
If I launch Jupyter Notebook from the Anaconda window, I am met with a 'Page cannot be displayed' error in my browser (Chrome).
I have tried launching Jupyter Notebook from the Anaconda Prompt (no notable error message output). I have also tried opening the Notebook in a different browser (Firefox), and I have tried running the Prompt in Administrator mode. No luck.
I have Jupyter Notebook version 5.6.0 according to the Navigator, but if I type jupyter --version at the prompt it says 4.4.0 (wondering if this is a problem?)
I kind of expected to be able to launch a Notebook right off the bat after installing Anaconda. Is there some set-up I have missed?
(Edit) Tried a few more things, after reading the Jupyter Notebook docs. Tried replacing 'localhost' in the URL with 127.0.0.1, and tried opening the link Chrome with --disable-web-security. Didn't help.
Steps which i will advice:
1) Open your command prompt in the directory which contains your notebook or where you want to create new notebook.
2) Write jupyter notebook in cmd and press enter.
If jupyter notebook is properly installed then it will certainly open, else try reinstalling it.
Note: You can always update your jupyter notebook via conda or pip. At time if you update or install package/IDE via pip, Anaconda terms it as "broken link" and give issue.