-
Notifications
You must be signed in to change notification settings - Fork 293
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
Connecting to kernel for python 3.10.0 failed #8944
Comments
@vliegeois Thanks for filing this issue
|
Hi In the Output panel, for jupyter, here is the complete output Visual Studio Code (1.64.0, undefined, desktop)
Info 21:50:36: Old kernelspecs (created by Jupyter extension) stored in directory /Users/vliegeoi/Library/Jupyter/kernels/__old_vscode_kernelspecs
[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: / [I 21:50:38.874 NotebookApp] Jupyter Notebook 6.4.6 is running at: [I 21:50:38.874 NotebookApp] http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0 Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[C 21:50:38.876 NotebookApp]
Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
Info 21:50:39: Connecting to process server
For the previous version, when everything was working fine:
Info 21:52:43: Old kernelspecs (created by Jupyter extension) stored in directory /Users/vliegeoi/Library/Jupyter/kernels/__old_vscode_kernelspecs
[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: / [I 21:52:45.269 NotebookApp] Jupyter Notebook 6.4.6 is running at: [I 21:52:45.269 NotebookApp] http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d Info 21:52:45: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 21:52:45: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[C 21:52:45.272 NotebookApp]
Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
Info 21:52:45: Connecting to process server
|
Thanks for providing the information.
Thanks |
No the cell does not run to completion.
For miniconda, the py3.10 env is created using the following command: I have installed a virtual machine with windows 11 and I was able to reproduce the issue when using python from miniconda. Can you reproduce the issue? When I open a folder containing jupyter notebooks, I have the same issue. Regards Vincent VSCode.bug.mp4 |
This is most likely an issue with conda itself (see issues here conda/conda#10969, conda/conda#11072). |
Yes I'm using latest version if conda, namely 4.11.0. |
Hi again. I have just installed python with conda but using condo-forge channel which install version 3.10.2 instead of 3.10.0. Now, everything is fine. So you can consider the issue closed Vincent |
Environment data
Expected behaviour
When executing a jupyter notebook python cell, the cell should be executed
Actual behaviour
Connecting to kernel (Python 3.10.0): waiting for jupyter server
This was fine for Jupyter extension v2022.1.1001614873.
This is also fine for python 3.9.
Only failed with python 3.10 and last jupyter extension v2022.1.1001775990
Steps to reproduce:
Create an empty Jupyter notebook.
Type some python code in a cell and try to execute it.
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)The text was updated successfully, but these errors were encountered: