Skip to content

Using a Jupyter Notebook with Pixi and VS Code #5099

Description

@Omnistic

Problem description

I am aware of #411, and I am not a software developer. But I can't get a Jupyter Notebook to work in my VS Code with the Pixi Extension. My workflow is as follows (in VS Code):

The kernel seems to be right in the Notebook, it is: .pixi\envs\default\python.exe, and if I just have print('test') in my notebook cell it works. But as soon as I import anything the kernel crashes. In the VS Code OUTPUT, I get a warning that seems relevant:
17:48:39.059 [warn] Failed to get activated env vars for ~\Documents\GitHub\my_folder\.pixi\envs\default\python.exe in 30028ms

I am not sure what to report regarding the crash (or even how to report it), and I am using Windows in case it matters.

Has anybody else had this problem? Is here the right place to ask? Please consider that I am not a software developer and I don't understand a lot of the jargon that is used here.

Thanks for any help you can provide.

Omni

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions