Skip to content
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 to Python 3 #26130

Open
brshahmsft opened this issue Jan 4, 2025 · 0 comments
Open

Failed to change Kernel to Python 3 #26130

brshahmsft opened this issue Jan 4, 2025 · 0 comments

Comments

@brshahmsft
Copy link

Type: Bug

Sharing the output from ADS

Notebook dependencies installation is in progress
> "C:\Users\brshah\AppData\Local\Programs\Python\Python313\python.exe" -m pip install --user "jupyter>=1.0.0" "notebook==7.2.2" "ipykernel==5.5.5"
stdout: Requirement already satisfied: jupyter>=1.0.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (1.0.0)
stdout:
stdout: Requirement already satisfied: notebook==7.2.2 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (7.2.2)
stdout:
stdout: Requirement already satisfied: ipykernel==5.5.5 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (5.5.5)
stdout:
stdout: Requirement already satisfied: jupyter-server<3,>=2.4.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from notebook==7.2.2) (2.15.0)
stdout:
stdout: Requirement already satisfied: jupyterlab-server<3,>=2.27.1 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from notebook==7.2.2) (2.27.3)
stdout:
stdout: Collecting jupyterlab<4.3,>=4.2.0 (from notebook==7.2.2)
stdout:
stdout: Using cached jupyterlab-4.2.6-py3-none-any.whl.metadata (16 kB)
stdout:
stdout: Requirement already satisfied: notebook-shim<0.3,>=0.2 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from notebook==7.2.2) (0.2.4)
stdout:
stdout: Requirement already satisfied: tornado>=6.2.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from notebook==7.2.2) (6.4.2)
stdout:
stdout: Requirement already satisfied: ipython>=5.0.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipykernel==5.5.5) (8.31.0)
stdout:
stdout: Requirement already satisfied: traitlets>=4.1.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipykernel==5.5.5) (5.14.3)
stdout:
stdout: Requirement already satisfied: jupyter-client in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipykernel==5.5.5) (8.6.3)
stdout:
stdout: Requirement already satisfied: qtconsole in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter>=1.0.0) (5.6.1)
stdout:
stdout: Requirement already satisfied: jupyter-console in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter>=1.0.0) (6.6.3)
stdout:
stdout: Requirement already satisfied: nbconvert in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter>=1.0.0) (7.16.5)
stdout:
stdout: Requirement already satisfied: ipywidgets in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter>=1.0.0) (8.1.5)
stdout:
stdout: Requirement already satisfied: colorama in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipython>=5.0.0->ipykernel==5.5.5) (0.4.6)
stdout:
stdout: Requirement already satisfied: decorator in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipython>=5.0.0->ipykernel==5.5.5) (5.1.1)
stdout:
stdout: Requirement already satisfied: jedi>=0.16 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipython>=5.0.0->ipykernel==5.5.5) (0.19.2)
stdout: Requirement already satisfied: matplotlib-inline in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipython>=5.0.0->ipykernel==5.5.5) (0.1.7)
stdout:
stdout: Requirement already satisfied: prompt_toolkit<3.1.0,>=3.0.41 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipython>=5.0.0->ipykernel==5.5.5) (3.0.48)
stdout:
stdout: Requirement already satisfied: pygments>=2.4.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipython>=5.0.0->ipykernel==5.5.5) (2.18.0)
stdout: Requirement already satisfied: stack_data in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from ipython>=5.0.0->ipykernel==5.5.5) (0.6.3)
stdout:
stdout: Requirement already satisfied: anyio>=3.1.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (4.7.0)
stdout:
stdout: Requirement already satisfied: argon2-cffi>=21.1 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (23.1.0)
stdout:
stdout: Requirement already satisfied: jinja2>=3.0.3 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (3.1.5)
stdout:
stdout: Requirement already satisfied: jupyter-core!=5.0.*,>=4.12 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (5.7.2)
stdout:
stdout: Requirement already satisfied: jupyter-events>=0.11.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (0.11.0)
stdout: Requirement already satisfied: jupyter-server-terminals>=0.4.4 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (0.5.3)
stdout:
stdout: Requirement already satisfied: nbformat>=5.3.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (5.10.4)
stdout:
stdout: Requirement already satisfied: overrides>=5.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (7.7.0)
stdout:
stdout: Requirement already satisfied: packaging>=22.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (24.2)
stdout:
stdout: Requirement already satisfied: prometheus-client>=0.9 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (0.21.1)
stdout:
stdout: Requirement already satisfied: pywinpty>=2.0.1 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (2.0.14)
stdout:
stdout: Requirement already satisfied: pyzmq>=24 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (26.2.0)
stdout:
stdout: Requirement already satisfied: send2trash>=1.8.2 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (1.8.3)
stdout:
stdout: Requirement already satisfied: terminado>=0.8.3 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (0.18.1)
stdout:
stdout: Requirement already satisfied: websocket-client>=1.7 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook==7.2.2) (1.8.0)
stdout:
stdout: Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyter-client->ipykernel==5.5.5) (2.9.0.post0)
stdout:
stdout: Requirement already satisfied: async-lru>=1.0.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyterlab<4.3,>=4.2.0->notebook==7.2.2) (2.0.4)
stdout:
stdout: Requirement already satisfied: httpx>=0.25.0 in c:\users\brshah\appdata\local\programs\python\python313\lib\site-packages (from jupyterlab<4.3,>=4.2.0->notebook==7.2.2) (0.28.1)
stdout:
stdout: INFO: pip is looking at multiple versions of jupyterlab to determine which version is compatible with other requirements. This could take a while.
stdout:
stdout: Using cached jupyterlab-4.2.5-py3-none-any.whl.metadata (16 kB)
stdout:
stdout: Using cached jupyterlab-4.2.4-py3-none-any.whl.metadata (16 kB)
stdout:
stdout: Using cached jupyterlab-4.2.3-py3-none-any.whl.metadata (16 kB)
stdout:
stdout: Using cached jupyterlab-4.2.2-py3-none-any.whl.metadata (16 kB)
stdout:
stdout: Using cached jupyterlab-4.2.1-py3-none-any.whl.metadata (16 kB)
stdout:
stdout: Using cached jupyterlab-4.2.0-py3-none-any.whl.metadata (16 kB)
stdout:
stdout: Collecting jupyter>=1.0.0
stdout:
stdout: Using cached jupyter-1.1.1-py2.py3-none-any.whl.metadata (2.0 kB)
stdout:
stdout: INFO: pip is still looking at multiple versions of jupyterlab to determine which version is compatible with other requirements. This could take a while.
stdout:
stdout: INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
stdout:
stdout: Using cached jupyter-1.1.0-py2.py3-none-any.whl.metadata (1000 bytes)
stdout:
stdout: Using cached jupyter-1.0.0-py2.py3-none-any.whl.metadata (995 bytes)
stdout:
stdout: Collecting notebook==7.2.2
stdout:
stdout: Using cached notebook-7.2.2-py3-none-any.whl.metadata (10 kB)
stdout:
stderr: ERROR: Cannot install ipykernel==5.5.5, jupyter==1.0.0 and notebook because these package versions have conflicting dependencies.
stderr:
stdout:
stdout: The conflict is caused by:
stdout: The user requested ipykernel==5.5.5
stdout: jupyter 1.0.0 depends on ipykernel
stdout: jupyterlab 4.2.6 depends on ipykernel>=6.5.0
stdout: The user requested ipykernel==5.5.5
stdout: jupyter 1.0.0 depends on ipykernel
stdout: jupyterlab 4.2.5 depends on ipykernel>=6.5.0
stdout: The user requested ipykernel==5.5.5
stdout: jupyter 1.0.0 depends on ipykernel
stdout: jupyterlab 4.2.4 depends on ipykernel>=6.5.0
stdout: The user requested ipykernel==5.5.5
stdout: jupyter 1.0.0 depends on ipykernel
stdout: jupyterlab 4.2.3 depends on ipykernel>=6.5.0
stdout: The user requested ipykernel==5.5.5
stdout: jupyter 1.0.0 depends on ipykernel
stdout: jupyterlab 4.2.2 depends on ipykernel>=6.5.0
stdout: The user requested ipykernel==5.5.5
stdout: jupyter 1.0.0 depends on ipykernel
stdout: jupyterlab 4.2.1 depends on ipykernel>=6.5.0
stdout: The user requested ipykernel==5.5.5
stdout: jupyter 1.0.0 depends on ipykernel
stdout: jupyterlab 4.2.0 depends on ipykernel>=6.5.0
stdout:
stdout: To fix this you could try to:
stdout: 1. loosen the range of package versions you've specified
stdout: 2. remove package versions to allow pip to attempt to solve the dependency conflict
stdout:
stdout:
stderr: ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
stderr:
Installing Notebook dependencies failed with error: Process exited with error code: 1. StdErr Output: ERROR: Cannot install ipykernel==5.5.5, jupyter==1.0.0 and notebook because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Azure Data Studio version: azuredatastudio 1.50.0 (49c73a8, 2024-11-17T22:41:05.327Z)
OS version: Windows_NT x64 10.0.22631
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info
Item Value
CPUs AMD EPYC 7763 64-Core Processor (16 x 2445)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.95GB (41.11GB free)
Process Argv
Screen Reader no
VM 0%
Extensions: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant