Skip to content

jupyter server registry  #3478

@cconw

Description

@cconw

Environment data

  • VS Code version: 1.33.1
  • Extension version (available under the Extensions sidebar): Version: 2019.3.6558
  • OS and version: Win10 1803
  • Python version (& distribution if applicable, e.g. Anaconda): 0.2.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): n/a
  • Relevant/affected Python packages and their versions: none

Expected behaviour

run any cell

Actual behaviour

Activating Python 3.6.7 64-bit ('base': conda) to run Jupyter failed with Error: StdErr from ShellExec, ERROR: The system was unable to find the specified registry key or value. File Not Found ERROR: The system was unable to find the specified registry key or value. File Not Found .

Executing code failed : Error: Activating Python 3.6.7 64-bit ('base': conda) to run Jupyter failed with Error: StdErr from ShellExec, ERROR: The system was unable to find the specified registry key or value. File Not Found ERROR: The system was unable to find the specified registry key or value. File Not Found .

Steps to reproduce:

  1. open vs code
  2. run a single cell with just comment info

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

Executing code failed : Error: Activating Python 3.6.7 64-bit ('base': conda) to run Jupyter failed with Error: StdErr from ShellExec, ERROR: The system was unable to find the specified registry key or value. File Not Found ERROR: The system was unable to find the specified registry key or value. File Not Found .


Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

[Extension Host] Python Extension: getActivatedEnvironmentVariables Error: StdErr from ShellExec, ERROR: The system was unable to find the specified registry key or value.
File Not Found
ERROR: The system was unable to find the specified registry key or value.
File Not Found

	at b.<anonymous> (C:\Users\Lenovo\.vscode\extensions\ms-python.python-2019.3.6558\out\client\extension.js:83:594490)
	at Generator.next (<anonymous>)
	at s (C:\Users\Lenovo\.vscode\extensions\ms-python.python-2019.3.6558\out\client\extension.js:83:592836)


Python Extension: getActivatedEnvironmentVariables, Class name = b, Arg 1: undefined, Arg 2: {"architecture":3,"path":"C:\\Users\\Lenovo\\Anaconda3\\python.exe","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"C:\\Users\\Lenovo\\Anaconda3","fileHash":"ea5d3ecf2913deeb0e7c3f84eaf4f89caefa471d7bed4696cccc0b2e953bac71ce3e85cfb1ce386c0e3b57f35d3ce7175af4e01b99a84ac412d9f1a45785f5da","companyDisplayName":"Anaconda, Inc.","type":"Conda","cachedEntry":true,"envName":"base","envPath":"C:\\Users\\Lenovo\\Anaconda3","displayName":"Python 3.6.7 64-bit ('base': conda)","__store":true}, Arg 3: true Error: StdErr from ShellExec, ERROR: The system was unable to find the specified registry key or value.
File Not Found
ERROR: The system was unable to find the specified registry key or value.
File Not Found

	at b.<anonymous> (C:\Users\Lenovo\.vscode\extensions\ms-python.python-2019.3.6558\out\client\extension.js:83:594490)
	at Generator.next (<anonymous>)
	at s (C:\Users\Lenovo\.vscode\extensions\ms-python.python-2019.3.6558\out\client\extension.js:83:592836)


notificationsAlerts.ts:40 Activating Python 3.6.7 64-bit ('base': conda) to run Jupyter failed with Error: StdErr from ShellExec, ERROR: The system was unable to find the specified registry key or value. File Not Found ERROR: The system was unable to find the specified registry key or value. File Not Found 

I've reinstalled anaconda/python a couple times, so I'm not sure what is causing this failure to pass a registry key/value. I've successfully gotten the same version of python/vs code to run on another machine, but on this machine I'm hammering my head against the wall for quite a few hours now. Any thoughts would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions