Open duytrung opened 7 years ago
If you run jupyter kernelspec list
in a command prompt, what does it show you?
> jupyter kernelspec list
Available kernels:
python3 C:\Anaconda\share\jupyter\kernels\python3
I use python 3 only
That path should be a folder with a file in it called kernel.json
- can you have a look at that file in a text editor and see what it contains?
I have the following error run the jupyter console:
{'stdin': -1, 'stdout': None, 'stderr': None, 'cwd': None}
Traceback (most recent call last):", line 2, in initialize args, kwargs)
File "C:\Anaconda\Scripts\jupyter-console-script.py", line 5, in
sys.exit(jupyter_console.app.main())
File "C:\Anaconda\lib\site-packages\jupyter_core\application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, *kwargs)
File "C:\Anaconda\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "
File "C:\Anaconda\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app,
File "C:\Anaconda\lib\site-packages\jupyter_console\app.py", line 141, in initialize
self.init_shell()
File "C:\Anaconda\lib\site-packages\jupyter_console\app.py", line 109, in init_shell
JupyterConsoleApp.initialize(self)
File "C:\Anaconda\lib\site-packages\jupyter_client\consoleapp.py", line 334, in initialize
self.init_kernel_manager()
File "C:\Anaconda\lib\site-packages\jupyter_client\consoleapp.py", line 288, in init_kernel_manager
self.kernel_manager.start_kernel(kwargs)
File "C:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 257, in start_kernel
kw)
File "C:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 203, in _launch_kernel
return launch_kernel(kernel_cmd, kw)
File "C:\Anaconda\lib\site-packages\jupyter_client\launcher.py", line 128, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Anaconda\lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "C:\Anaconda\lib\subprocess.py", line 992, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
I use conda forge channel for my study.
Thanks