Not connecting to any kernel.
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
not executing any file. Available kernels are python 3 and 2.
after executing "jupyter kernelspec install path"
(base) C:\Users\Ujwal Chute>jupyter kernelspec install C:\ProgramData\jupyter\kernels\python2
[InstallKernelSpec] Removing existing kernelspec in C:\ProgramData\jupyter\kernels\python2
Traceback (most recent call last):
File "E:\condaenv\Scripts\jupyter-kernelspec-script.py", line 10, in
sys.exit(KernelSpecApp.launch_instance())
File "E:\condaenv\lib\site-packages\traitlets\config\application.py", line 658, in launch_instance
app.start()
File "E:\condaenv\lib\site-packages\jupyter_client\kernelspecapp.py", line 273, in start
return self.subapp.start()
File "E:\condaenv\lib\site-packages\jupyter_client\kernelspecapp.py", line 143, in start
replace=self.replace,
File "E:\condaenv\lib\site-packages\jupyter_client\kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "E:\condaenv\lib\shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\ProgramData\\jupyter\\kernels\\python2'
Can anyone please help me?
Contributor guide
Research direction
Start with the reported `jupyter kernelspec install` command and the traceback in `jupyter_client\kernelspecapp.py` and `jupyter_client\kernelspec.py`. Reproduce the Windows kernel installation failure and trace the missing `C:\ProgramData\jupyter\kernels\python2` path; done means the available kernels can be installed and execute files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100