Skip to content

Using Poetry kernel on a remote JupyterHub server in VS Code #12

Open

Description

@digikoo-daniel

Jo,
i have a Jupyter notebook open in VS Code, and I'd like to choose as its kernel the Poetry kernel running on a remote JupyterHub server.
I'm not sure if that's possible at all, and so far i keep getting the following error message:

Failed to start the Kernel. Kernel Poetry is not usable.

My understanding is that the Poetry kernel runs the Jupyter kernel from within the Poetry project, right? But the Poetry project is on my local machine, because i executed poetry install locally. The Poetry kernel, on the other hand, lives in the remote JupyterHub server environment.
Is there a way to makes this work? Do i have to run poetry install inside JupyterHub, and somehow tell the Poetry kernel that it shall look there for the Jupyter kernel it shall run, and not on my local machine?
Sorry if i mess up the terminology, but i hope what i want to do is more or less comprehensible.
Cheers.

Activity

  1. changed the title [-]use poetry-kernel on remote jupyter server in vs code[/-] [+]Using Poetry kernel on a remote JupyterHub server in VS Code[/+] on Aug 14, 2023
  2. Ketan-K17 commented on Feb 24, 2025

    @Ketan-K17

    Did you find a solution to this problem? i keep having to shift project dependency management to conda whenever i know i'll have to deal with .ipynb files on vscode... it's not convenient at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions