microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 294 forks source link

PIXI environments not "conda activated" #16228

Open petrushy opened 5 days ago

petrushy commented 5 days ago

Applies To

What happened?

pixi can be used to set up environments, which are then used by vscode jupyter.

It seems like these environments are seen like normal virtual-python environment and the specific conda-activation that is done for conda environments is not performed. It seems like vscode does not identify the pixi environments as conda environments.

VS Code Version

1.95.3

Jupyter Extension Version

v2024.11.2024102401 (pre-release)

Jupyter logs

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

DonJayamanne commented 4 days ago

Do these pixi environments work in regular python extension?

petrushy commented 3 days ago

Not sure i understand, the environment work and gets activated if ran from the console with pixi run juputer labVscode finds the env and uses that python binary but seems not to activate the conda activate scripts. On 18 Nov 2024, at 11:52, Don Jayamanne @.***> wrote: Do these pixi environments work in regular python extension?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>