I am having an issue with Jupyter notebook.
For some reason it always shows a Kernel error
in the top right, next to my Jupyter notebook.When I click on it, it gives the error message below.
Can someone please help me and tell me how to fix this?
Traceback (most recent call last): File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\web.py", line 1592, in _execute result = yield result File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 1133, in run value = future.result() File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 1141, in run yielded = self.gen.throw(*exc_info) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post type=mtype)) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 1133, in run value = future.result() File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 1141, in run yielded = self.gen.throw(*exc_info) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 88, in create_session kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 1133, in run value = future.result() File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 1141, in run yielded = self.gen.throw(*exc_info) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 101, in start_kernel_for_session self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 1133, in run value = future.result() File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\tornado\gen.py", line 326, in wrapper yielded = next(result) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel super(MappingKernelManager, self).start_kernel(**kwargs) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel km.start_kernel(**kwargs) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\jupyter_client\manager.py", line 259, in start_kernel **kw) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\jupyter_client\manager.py", line 204, in _launch_kernel return launch_kernel(kernel_cmd, **kw) File "c:\users\<username>\appdata\local\programs\python\python37\lib\site-packages\jupyter_client\launcher.py", line 138, in launch_kernel proc = Popen(cmd, **kwargs) File "c:\users\<username>\appdata\local\programs\python\python37\lib\subprocess.py", line 800, in __init__ restore_signals, start_new_session) File "c:\users\<username>\appdata\local\programs\python\python37\lib\subprocess.py", line 1207, in _execute_child startupinfo)FileNotFoundError: [WinError 2] The system cannot find the file specified
Setup details:- Local virtual environment- Use pip for installing packages
Results of pip list
(when virtual environment is active):
Package Version ----------------------------- ----------alabaster 0.7.12appdirs 1.4.3attrs 19.3.0autopep8 1.5Babel 2.8.0backcall 0.1.0bleach 3.1.0certifi 2020.4.5.1chardet 3.0.4colorama 0.4.3cvxopt 1.2.3decorator 4.4.1defusedxml 0.6.0distlib 0.3.0docutils 0.16entrypoints 0.3filelock 3.0.12flask 1.1.1idna 2.8imagesize 1.2.0 importlib-metadata 1.5.0ipykernel 5.1.4ipyparallel 6.2.5ipython 7.13.0ipython-genutils 0.2.0ipywidgets 7.5.1jedi 0.16.0Jinja2 2.11.1jsonschema 3.2.0jupyter 1.0.0jupyter-client 5.3.4jupyter-console 6.1.0jupyter-core 4.6.1MarkupSafe 1.1.1mistune 0.8.4 nbconvert 5.6.1nbformat 5.0.4nose 1.3.7notebook 6.0.3numpy 1.18.1packaging 20.3pandas 1.0.1pandocfilters 1.4.2parso 0.6.1pickleshare 0.7.5pip 20.0.2prometheus-client 0.7.1prompt-toolkit 3.0.3pycodestyle 2.5.0Pygments 2.5.2pyparsing 2.4.7pyrsistent 0.15.7python-dateutil 2.8.1pytz 2019.3pywin32 227pywinpty 0.5.7pyzmq 18.1.1qtconsole 4.6.0requests 2.21.0Send2Trash 1.5.0setuptools 41.2.0six 1.14.0snowballstemmer 2.0.0Sphinx 3.0.2sphinxcontrib-applehelp 1.0.2sphinxcontrib-devhelp 1.0.2sphinxcontrib-htmlhelp 1.0.3sphinxcontrib-jsmath 1.0.1sphinxcontrib-qthelp 1.0.3sphinxcontrib-serializinghtml 1.1.4terminado 0.8.3testpath 0.4.4tornado 5.1.1traitlets 4.3.3urllib3 1.24.3virtualenv 20.0.14wcwidth 0.1.8webencodings 0.5.1widgetsnbextension 3.5.1zipp 2.1.0