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

vscode jupyter not seeing micromamba environments #24812

Closed
vttrifonov opened this issue Feb 12, 2025 · 3 comments
Closed

vscode jupyter not seeing micromamba environments #24812

vttrifonov opened this issue Feb 12, 2025 · 3 comments
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster

Comments

@vttrifonov
Copy link

Recently our company switched from using conda to using micromamba for managing python environments. As a result my named environments get created under ~/.micromamba/envs and not ~/.conda/envs any more. This has made switching environments in vscode a real pain. Before (with conda and ~/.conda/envs) I can see all environments and just pick the one I need from the change kernel box in the jupyter notebook. Now the environments are not listed, so I need to get a terminal, activate the environment by hand, get the python path, select it as an interpreter, and then the environment appears in the change kernels box. But then vscode "forgets" the environment I have chosen so carefully, so I have to do the "select python interpreter" dance again. And again. And again...

How can I make vscode "just see" the environments in my ~/.micromamba/envs folder like it used to before switching to micromamba?

@vttrifonov vttrifonov added the bug Issue identified by VS Code Team member as probable bug label Feb 12, 2025
@DonJayamanne
Copy link

Thank you for filing this issue,
Does the micromamba environment show up in the list of Python environments when you use the command Python: Select Interpreter

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Feb 12, 2025
@vttrifonov
Copy link
Author

thanks for the quick response! no it does not. this is the other kink: i have to click on enter path and paste the path that i have copied from command-line...

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-jupyter Feb 13, 2025
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Feb 13, 2025
@DonJayamanne
Copy link

Closing in favour of microsoft/python-environment-tools#25

@DonJayamanne DonJayamanne added *duplicate Issue identified as a duplicate of another issue(s) and removed triage-needed Needs assignment to the proper sub-team labels Feb 13, 2025
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 *duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants