question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't start Jupyter Kernel - vscode-insiders 1.54.0

See original GitHub issue

Edit: I confirmed issue is with 1.54.0, after manually downgrading to 1.53.0 from here: https://vscode-update.azurewebsites.net/1.53.0-insider/darwin/insider

I am again able to start a jupyter kernel.

Issue

After upgrading to vscode-insiders 1.54.0, I’m unable to start a jupyter notebook kernel (native notebooks), OR a jupyter interactive window.

vscode_jupyter_spawn_enotdir

These first two errros seem like they might be relevant:

18160 Error 2021-02-05 10:37:39: Install Missing Dependencies, Class name = f, completed in 7ms, has a falsy return value, Return Value: undefined [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:39: failed to create INotebook in kernel [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}

Environment data

  • VS Code version: 1.54.0
  • Jupyter Extension version: v2021.1.537914351-dev
  • Python Extension version: v2021.2.531887795-dev
  • OS (Windows | Mac | Linux distro) and version: Darwin x64 20.3.0
  • Python and/or Anaconda version: 3.7.9
  • Type of virtual environment used: Conda
  • Jupyter server running: Local

Expected behaviour

XXX

Actual behaviour

Jupyter kernel fails to start

Steps to reproduce:

  1. Open .ipynb file

Logs

User belongs to experiment group 'NativeNotebookEditor'
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
18160 Error 2021-02-05 10:37:13: KernelSpec has path information, however a matching interpreter could not be found for undefined
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has path information, however a matching interpreter could not be found for undefined
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:13: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.1.537914351-dev/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:14: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:14: Install Missing Dependencies, Class name = f, completed in 7ms, has a falsy return value, Return Value: undefined [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:14: failed to create INotebook in kernel [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:14: failed to start INotebook in kernel [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:21: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:21: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:21: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:21: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:21: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:21: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:21: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:22: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:22: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:22: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:22: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:22: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:22: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:22: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:29: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:29: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:29: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:29: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:29: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:29: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:29: KernelSpec has interpreter information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:30: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:30: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:30: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:30: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/.local/share/virtualenvs/ERROR_TEST-eINRU2vL/bin/python
18160 Error 2021-02-05 10:37:30: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:30: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python3.8
18160 Error 2021-02-05 10:37:30: KernelSpec has path information, however a matching interpreter could not be found for /Users/Jayme/OneDrive/Python/Testing/venv/bin/python
18160 Error 2021-02-05 10:37:39: Install Missing Dependencies, Class name = f, completed in 7ms, has a falsy return value, Return Value: undefined [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:39: failed to create INotebook in kernel [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:39: DataScience Error [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:39: failed to start INotebook in kernel [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
18160 Error 2021-02-05 10:37:39: Failed to execute cells in CellExecutionQueue [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at Object.spawn (child_process.js:557:9)
	at l.exec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:29:36446)
	at r.isCondaInCurrentPath (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56986)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async r.getCondaFileImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:60051)
	at async r.getCondaFile (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:56886)
	at async r.getCondaInfo (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.2.531887795-dev/out/client/extension.js:78:57088)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jaymegordocommented, Feb 24, 2021

@DavidKutu @greazer I’m getting a similar issue again after updating to today’s build of 1.54.0. I can manage and downgrade to 1.53.0 again, but just wanted to give you some more info.

image

jupyter: v2021.3.593162453 python: v2021.3.593199507-dev

Version: 1.54.0-insider Commit: c47da720f351455681978a48edc4d9a0d095ea0e Date: 2021-02-24T12:22:35.736Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Darwin x64 20.3.0

Error logs:

User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'NativeNotebookEditor'
Error 2021-02-24 14:06:32: Jupyter Extension (Error in PreWarmKernelDaemon, method:preWarmKernelDaemonPool): [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at spawn (child_process.js:557:9)
	at Object.execFile (child_process.js:241:17)
	at Object.t.<computed> [as execFile] (electron/js2c/asar_bundle.js:5:2208)
	at Object.exec (child_process.js:162:25)
	at Object.exec (electron/js2c/asar_bundle.js:5:12113)
	at /Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703896
	at new Promise (<anonymous>)
	at Object.t.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703866)
	at o.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:29:17478)
	at P.getActivatedEnvironmentVariablesImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:59:590095)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
Error 2021-02-24 14:06:32: Install Missing Dependencies, Class name = f, completed in 340ms, has a falsy return value, Return Value: undefined [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at spawn (child_process.js:557:9)
	at Object.execFile (child_process.js:241:17)
	at Object.t.<computed> [as execFile] (electron/js2c/asar_bundle.js:5:2208)
	at Object.exec (child_process.js:162:25)
	at Object.exec (electron/js2c/asar_bundle.js:5:12113)
	at /Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703896
	at new Promise (<anonymous>)
	at Object.t.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703866)
	at o.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:29:17478)
	at P.getActivatedEnvironmentVariablesImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:59:590095)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
Error 2021-02-24 14:06:32: failed to create INotebook in kernel [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at spawn (child_process.js:557:9)
	at Object.execFile (child_process.js:241:17)
	at Object.t.<computed> [as execFile] (electron/js2c/asar_bundle.js:5:2208)
	at Object.exec (child_process.js:162:25)
	at Object.exec (electron/js2c/asar_bundle.js:5:12113)
	at /Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703896
	at new Promise (<anonymous>)
	at Object.t.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703866)
	at o.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:29:17478)
	at P.getActivatedEnvironmentVariablesImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:59:590095)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
Error 2021-02-24 14:06:32: failed to start INotebook in kernel [Error: spawn ENOTDIR
	at ChildProcess.spawn (internal/child_process.js:407:11)
	at spawn (child_process.js:557:9)
	at Object.execFile (child_process.js:241:17)
	at Object.t.<computed> [as execFile] (electron/js2c/asar_bundle.js:5:2208)
	at Object.exec (child_process.js:162:25)
	at Object.exec (electron/js2c/asar_bundle.js:5:12113)
	at /Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703896
	at new Promise (<anonymous>)
	at Object.t.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:9:703866)
	at o.shellExec (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:29:17478)
	at P.getActivatedEnvironmentVariablesImpl (/Users/Jayme/.vscode-insiders/extensions/ms-python.python-2021.3.593199507-dev/out/client/extension.js:59:590095)] {
  errno: 'ENOTDIR',
  code: 'ENOTDIR',
  syscall: 'spawn'
}
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.3.593162453/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
0reactions
greazercommented, Feb 16, 2021

Highly related to #4796. More than likely this problem will be fixed when that one is. Please note that native notebooks are undergoing a very significant API review and update. While we do try and keep VS Code insiders and Jupyter insider builds in sync and running, it will not be uncommon for breakages to occur over the next several weeks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to start the Kernel - Jupyter in VS Code - Stack Overflow
A workaround would be to run the kernel in a separate terminal (using the jupyter notebook command), and to connect to that kernel...
Read more >
Jupyter in Visual Studio Code – April 2021 Release - Python
We are pleased to announce that the April 2021 release of the Jupyter Extension for Visual Studio Code is now available.
Read more >
Working with Jupyter Notebooks in Visual Studio Code
Create or open a Jupyter Notebook​​ You can create a Jupyter Notebook by running the Create: New Jupyter Notebook command from the Command...
Read more >
Pylance Not Working In Vscode Jupyter Notebooks - ADocLib
The Python Extension for VS Code Insiders is excited to announce to open this notebook but the new notebook editor takes less than...
Read more >
Suddenly can't open Jupyter notebooks in VSC Insiders - Reddit
I got the same error as fusshandschuh that Jupyter throws the error about 'Rich'. When i create this file and restart it in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found