-
Notifications
You must be signed in to change notification settings - Fork 346
Description
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:
- open vs code
- run a single cell with just comment info
Logs
Output for Python in the Output panel (View→Output, 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.