Skip to content

[Bug]: Jupyter Notebook cannot find a Python kernel #6152

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

Closed
4 tasks done
maksad opened this issue Apr 18, 2023 · 4 comments
Closed
4 tasks done

[Bug]: Jupyter Notebook cannot find a Python kernel #6152

maksad opened this issue Apr 18, 2023 · 4 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@maksad
Copy link

maksad commented Apr 18, 2023

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: macOs
  • Remote OS: Ubuntu 20.4
  • Remote Architecture: amd64/Kubeflow
  • code-server --version: v4.12.0-rc.1

Steps to Reproduce

  1. Create a docker image with code-server installed
  2. Push the docker image to ECR
  3. Run the docker image using Kubeflow

Expected

When creating a Jupyter Notebook file, it should be able to detect Python Kernels and select them.

Steps:

  1. install ipykernel
  2. create temp.ipynb file
  3. open the file and click on select kernel

Screenshot 2023-04-18 at 11 30 55

This was tested with the version v4.11.0

Actual

When using the release candidate version v4.12.0-rc.1, and clicking on "select kernel" the kernels cannot be found or selected. Even when trying to select a Python kernel with the path, it cannot still find it.

Screenshot 2023-04-18 at 11 32 42

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

No response

@maksad maksad added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Apr 18, 2023
@maksad maksad changed the title [Bug]: [Bug]: Jupyter Notebook cannot find a Python kernel Apr 18, 2023
@kohlivarun5
Copy link

A new version was pushed for this to open-vsx: https://open-vsx.org/extension/ms-toolsai/jupyter

Does it work with the latest extension ?

@maksad
Copy link
Author

maksad commented Apr 19, 2023

@kohlivarun5 Apparently, code-server (v4.12.0-rc.1) is not compatible withe the Jupyter's pre-release version (v2023.4.1001091014).

Can't install pre-release version of 'ms-toolsai.jupyter' extension because 
it is not compatible with the current version of code-server (version 1.77.1).

ps. the same error is displayed with the code-server v4.11.0

@benz0li
Copy link
Contributor

benz0li commented Apr 21, 2023

This is resolved. See #6135 (comment).

@maksad
Copy link
Author

maksad commented Apr 21, 2023

@benz0li thanks for the fix. I can confirm that the issue is now resolved.

@maksad maksad closed this as completed Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants