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.

Error: Activating Python 3.6.5 64-bit ('base': conda) to run Jupyter failed with Error: spawn cmd ENOENT.

See original GitHub issue

Bug: Error: Activating Python 3.6.5 64-bit (‘base’: conda) to run Jupyter failed with Error: spawn cmd ENOENT.

Steps to cause the bug to occur

  1. Open or Create a new IPYNB file.
  2. Run Cell

Actual behavior

Error: Activating Python 3.6.5 64-bit (‘base’: conda) to run Jupyter failed with Error: spawn cmd ENOENT.

GIF: errorc578506b4f45dcd6.gif

Expected behavior

The cell to run and display a correct output.

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local
  • Extension version: 2020.1.55524-dev
  • VS Code version: 1.41.1
  • Setting python.jediEnabled: false
  • Python and/or Anaconda version: 3.6.5
  • OS: Windows 10
  • Virtual environment: conda

Developer Tools Console Output

https://pastebin.com/rQf1DzRX

VSCode Settings

{
    "python.pythonPath": "C:\\Users\\AtOmiC.ADMINRG-7UQ6VS4\\Anaconda3\\python.exe",
	"terminal.integrated.env.windows": {
	"PATH": ""},
}

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
MuSamiNafcommented, Dec 20, 2019

Alright. I solved the problem, It is related to the Environment Variables Path. %SystemRoot%\system32 was missing into the PATH variables for the user. I added %SystemRoot%\system32 to the PATH variable and moved it to the top of the list. No errors, correct output.

Thanks @rchiodo for your support.

0reactions
bakhariacommented, Feb 10, 2021

Can you please let me know where exactly did you add that? I ran the same tests and got the same output. Did you add %SystemRoot%/system32 to environments variable or in settings.json or both?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Activating Python 3.6.5 64-bit ('base': conda) to run Jupyter ...
5 64-bit ('base': conda) to run Jupyter failed with Error: spawn cmd ENOENT. Steps to cause the bug to occur. Open or Create...
Read more >
Unable to start Jupyter notebook on VS Code - python
The solution is to restore the version number of a dependency package " traitlets " of ipython kernel to 4.3.3 . You could...
Read more >
Using and Installing Python, Anaconda, and Jupyter
Tier 1: We install the basic Python packages that are required by most users (these are mostly libraries rather than packages, such as...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/24 17 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >
vscode运行jupyter的问题解决_·空感自诩”的博客
... 没有jupyter kernel 错误代码:Error: Activating Python 3.7.4 64-bit ('base': conda) to run Jupyter failed with Error: spawn cmd ENOENT...
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