Skip to content
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

PIXI environments not "conda activated" #16228

Open
1 of 2 tasks
petrushy opened this issue Nov 17, 2024 · 3 comments
Open
1 of 2 tasks

PIXI environments not "conda activated" #16228

petrushy opened this issue Nov 17, 2024 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) upstream-python Blocked on upstream Python Ext

Comments

@petrushy
Copy link

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

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

@petrushy petrushy added the bug Issue identified by VS Code Team member as probable bug label Nov 17, 2024
@DonJayamanne
Copy link
Contributor

Do these pixi environments work in regular python extension?

@petrushy
Copy link
Author

petrushy commented Nov 18, 2024 via email

@DonJayamanne
Copy link
Contributor

Please could you enable logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to trace
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to the logs).

@DonJayamanne DonJayamanne added info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) upstream-python Blocked on upstream Python Ext labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) upstream-python Blocked on upstream Python Ext
Projects
None yet
Development

No branches or pull requests

2 participants