-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python is not installed #16684
Comments
Thanks for the bug. Where is your python installation? Additionally if you could include the contents of the 'Python' and 'Jupyter' output tab that would be helpful. |
@rchiodo, I have already indicated the output of Jupyter in the content of issue, Python extension output is below: Also Python installed in c:\Users\Togrul\AppData\Local\Programs\Python\Python38\python.exe' folder. I have Python 38, 39, 39-32 versions. Path for all of them is the same kind. This below is the output of Jupyter: |
That wouldn't be the entire output. Can you copy the entire contents of both output panes? That error message is a result of the failure that prevents anything from running. There should be a bunch of output above that which hopefully indicates why. |
Yeah that's the correct spot. That output is from the python extension. It looks like it thinks your python.exe is invalid (which would explain the message you get from the jupyter extension). Can you set this setting: And try again? I'm transferring this to the python extension repo as it looks like the fault is there. They'll want to see the output pane after you set that setting. Thanks |
|
@TogrulKazimov Can you try running this from command line (outside of VS Code):
If that works then you should see the same path as the python.exe. then try running this:
Make sure the path the |
I think everything is okay, with this path: |
@TogrulKazimov Can you share your environment variables? |
|
C:\Users\Togrul>set |
Essentially the ENOENT (-4058) error with -c " " error usually means that Node exec tried to get default shell on Windows using |
Thanks, @karthiknadig, it looks like the problem is solved. I think that is not me who changed that path, maybe the system changed it automatically. |
Issue Type: Performance Issue
It is already been 3 months that I cannot use VS code as Python IDE. Both Python and Jupyter extensions keep saying the same issue. 'Python is not installed. Please download and install Python in order to execute cells in this notebook.'
Jupyter output is like that:
Info 2021-07-14 17:36:26: Finished executing cell NotebookImport#0
Error 2021-07-14 17:36:26: DataScience Error [i [Error]: Failed to find a kernelspec to use for ipykernel launch
at E.createNotebookInstance (c:\Users\Togrul.vscode\extensions\ms-toolsai.jupyter-2021.8.1013163132\out\client\extension.js:90:440163)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)] {
category: 'kernelspecnotfound',
notebookMetadata: {
language_info: {
codemirror_mode: [Object],
file_extension: '.py',
mimetype: 'text/x-python',
name: 'python',
nbconvert_exporter: 'python',
pygments_lexer: 'ipython3',
version: 3
},
orig_nbformat: 4
}
}
And a screenshot of the problem:
Extension version: 2021.8.1013163132
VS Code version: Code 1.58.1 (2aeda6b18e13c4f4f9edf6667158a6b8d408874b, 2021-07-13T06:58:28.115Z)
OS version: Windows_NT x64 10.0.19041
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Process Info
Workspace Info
A/B Experiments
The text was updated successfully, but these errors were encountered: