-
Notifications
You must be signed in to change notification settings - Fork 913
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
Failed to change kernel #23954
Comments
I have the same issue. Exact same error. |
Same issue on: Ran setup for python using /opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11 I have additionally tried installing manually this notebook package via pip to no success. Here is the log, sanitised:
And this produces the following error:
I believe this is a duplicate of #23945 |
I have exactly the same issue & error - running ADS on Win10. Same for the co-worker I'm trying to resolve the issue for - all I had to do to replicate his error was to install ADS on Win10 & try to open a Python Notebook. Python install went through without issue. Azure Data Studio |
Actually I solved that problem The best way is to delete all python version from your computer after that verify by typing in cmd code: python --version go to advance environment setting and delete the path of python after that uninstall your azure data studio and download the latest version of azure data studio after download anaconda environment and by that you can use jupyter in your any IDE like vs code and after change the kernel in azure data studio you can get the python3 |
Think this should be closed as its a duplicate of #23945 (and diagnostics/workarounds are being made in both)
Without uninstalling/removing python at all, if notebook is installed via pip, you can just do: pip3 install notebook==6.5.5 Edit: sorry this didn't mean to sound so aggressive - upon re-reading it felt like it might have come across that way! Good job in finding the issue and getting to a solution, I just meant to say that it would probably save people some time to consolidate where the feedback and contributions to this bug are going |
thanks for giving me this another way @olliescase I will definitely try this . |
Solved! By downgrading the version of notebook from 7.0.1 to 6.5.5 Many thanks @olliescase. |
Closing as a duplicate of #23945. |
Type: Bug
Failed to change kernel. Kernel SQL will be used. Error was: Notebook process exited prematurely with error code: 1. Std Err Output: Traceback (most recent call last): File "c:\Program Files\Azure Data Studio\resources\app\extensions\notebook\resources\python Scripts\startNotebook.py", line 1, in import notebook.notebookapp ModuleNotFoundError: No module named 'notebook.notebookapp'
Azure Data Studio version: azuredatastudio 1.44.1 (8f53a31, 2023-06-01T02:12:48.765Z)
OS version: Windows_NT x64 10.0.22623
Restricted Mode: No
Preview Features: Enabled
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (13)
The text was updated successfully, but these errors were encountered: