interactive: `!connect jupyter` directive error

Describe the bug

After upgrading Polyglot to 1.0.6070010 and testing with .NET 9, I’m getting this error when trying to use #!connect jupyter

Image

Although I’ve already installed the deno kernel:

Image

also tried with another kernel, e.g: python, but the issue still persists.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

Image
  • OS
    • Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@tonidy Could you follow these instructions and post your logs? Thanks.

https://github.com/dotnet/interactive/issues/3813#issuecomment-2610929265

Additional logs would be helpful. These issues tend to be environment-specific and I’m not confident in this heuristic for robustly locating a Conda path.

If you can, please follow the directions here: https://github.com/dotnet/interactive/blob/main/DEVELOPER-GUIDE.md#use-a-local-build-of-the-dotnet-interactive-tool. Just add just the following arguments to your kernelTransportArgs settings (no local build needed):

      "--log-path",
      "/path/to/a/folder/for/your/kernel-logs/",
      "--verbose",

If you can repro the bug and post back the relevant section of the log file, that would be helpful.

Thanks!