Jupyter notebook was working fine for me just yesterday.I use a Windows system, and I just edited my environmental variables for using PSCP. After I added pscp as a path, my jupyter notebook kernel started dying every time I open it. I looked online for solutions and found that I should re-install all the python packages. I tried doing that, but I got the same error. I also tried running 'conda clean -tipsy', but that did not fix the error either.
When I run 'jupyter kernelspec list' I get:
C:\Users\username>jupyter kernelspec listC:\Users\username\Anaconda3\lib\site-packages\jupyter_client\kernelspec.py:159: UserWarning: get_ipython_dir has moved to the IPython.paths module since IPython 4.0. dirs.append(os.path.join(get_ipython_dir(), 'kernels'))Available kernels: python3 C:\Users\username\Anaconda3\share\jupyter\kernels\python3
When I messed with system paths, I just edited and added more paths, but I am guessing I did something to the jupyter notebook path because it was working fine before I made the other path edits.
I attached a picture of my paths (username blacked out) since I can't include it as a text error. path error. The last 2 paths were just added - the first one for pscp, the other to try and fix my jupyter notebook path error (which didn't work).
Here's my error while opening jupyter notebook:
ImportError: cannot import name 'create_prompt_application'[W 13:59:38.985 NotebookApp] KernelRestarter: restart failed[W 13:59:38.985 NotebookApp] Kernel 73ae5875-ed17-4a5b-8046-e752671c0a30 died, removing from map.kernel 73ae5875-ed17-4a5b-8046-e752671c0a30 restarted failed![D 13:59:39.017 NotebookApp] Websocket closed 73ae5875-ed17-4a5b-8046-e752671c0a30:b838ef3c4e6846009ddd262264e1ccf6[W 13:59:39.032 NotebookApp] 410 DELETE /api/sessions/3a15c7c6-4460-4837-9746-c0a5333693a3 (127.0.0.1): Kernel deleted before session[W 13:59:39.032 NotebookApp] Kernel deleted before session[W 13:59:39.032 NotebookApp] 410 DELETE /api/sessions/3a15c7c6-4460-4837-9746-c0a5333693a3 (127.0.0.1) 0.00ms referer=http://localhost:8889/notebooks/Untitled.ipynb