I have JupyterLab/JupyterNotebook running on Win10, along with Python and PyCharm on the side on Windows 10. Whenever I launch JupyterLab/JupyterNotebook I get the error stated below. I have tried reinstalling the Anaconda-distribution or any other instances of Python but it gives me the same error every time I launch JupyterLab/Notebook. I have also tried running it on a remote server with Win 7 but it gives me the exact same error. Part of me thinks that I made the same mistake while installing Anaconda, Python, and PyCharm and now I can’t revert it back. Any suggestions?
JavaScript
x
41
41
1
Traceback (most recent call last):
2
File "E:anaconda3libsite-packagestornadoweb.py", line 1543, in _execute
3
result = yield result
4
File "E:anaconda3libsite-packagestornadogen.py", line 1099, in run
5
value = future.result()
6
File "E:anaconda3libsite-packagestornadogen.py", line 1107, in run
7
yielded = self.gen.throw(*exc_info)
8
File "E:anaconda3libsite-packagesnotebookservicessessionshandlers.py", line 73, in post
9
type=mtype))
10
File "E:anaconda3libsite-packagestornadogen.py", line 1099, in run
11
value = future.result()
12
File "E:anaconda3libsite-packagestornadogen.py", line 1107, in run
13
yielded = self.gen.throw(*exc_info)
14
File "E:anaconda3libsite-packagesnotebookservicessessionssessionmanager.py", line 79, in create_session
15
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
16
File "E:anaconda3libsite-packagestornadogen.py", line 1099, in run
17
value = future.result()
18
File "E:anaconda3libsite-packagestornadogen.py", line 1107, in run
19
yielded = self.gen.throw(*exc_info)
20
File "E:anaconda3libsite-packagesnotebookservicessessionssessionmanager.py", line 92, in start_kernel_for_session
21
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
22
File "E:anaconda3libsite-packagestornadogen.py", line 1099, in run
23
value = future.result()
24
File "E:anaconda3libsite-packagestornadogen.py", line 315, in wrapper
25
yielded = next(result)
26
File "E:anaconda3libsite-packagesnotebookserviceskernelskernelmanager.py", line 148, in start_kernel
27
super(MappingKernelManager, self).start_kernel(**kwargs)
28
File "E:anaconda3libsite-packagesjupyter_clientmultikernelmanager.py", line 110, in start_kernel
29
km.start_kernel(**kwargs)
30
File "E:anaconda3libsite-packagesjupyter_clientmanager.py", line 259, in start_kernel
31
**kw)
32
File "E:anaconda3libsite-packagesjupyter_clientmanager.py", line 204, in _launch_kernel
33
return launch_kernel(kernel_cmd, **kw)
34
File "E:anaconda3libsite-packagesjupyter_clientlauncher.py", line 128, in launch_kernel
35
proc = Popen(cmd, **kwargs)
36
File "E:anaconda3libsubprocess.py", line 709, in __init__
37
restore_signals, start_new_session)
38
File "E:anaconda3libsubprocess.py", line 997, in _execute_child
39
startupinfo)
40
FileNotFoundError: [WinError 2] The system cannot find the file specified
41
Advertisement
Answer
It seemed it had something to do with nb_conda. Once I reinstalled nb_conda using the command below, it worked for me.
JavaScript
1
2
1
conda install nb_conda
2