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

Unsolved #11638 #23837

Closed
ArenaGrenade opened this issue Jul 19, 2024 · 1 comment
Closed

Unsolved #11638 #23837

ArenaGrenade opened this issue Jul 19, 2024 · 1 comment
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team

Comments

@ArenaGrenade
Copy link

#11638 has been closed with @karrtikr specifying that this issue will be fixed, its 2024 now and I am facing the exact same issue in VS Code on Windows. Powershell doesn't automatically activate the current conda environment.

I have Conda on path and the shell is properly initialized along with conda being initialized in the shell. So, after VS Code opens the terminal, I hit "conda activate env", it activates the env.

What I want is for VSCode to automatically run activate the directory specific environment like it does with command prompt.

Env Activation settings are correct, powershell runs with execution policy bypass.

Is there anything I can do to fix this? I can't even modify the powershell command to run conda activate before providing me access, because as far as I am aware, settings.json doesnt have access to current directory - unless I create a version of it for every project I have and manually set python path and so on. This is practically infeasible.

@ArenaGrenade ArenaGrenade added the feature-request Request for new features or functionality label Jul 19, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jul 19, 2024
@karthiknadig karthiknadig self-assigned this Jul 22, 2024
@karthiknadig
Copy link
Member

@ArenaGrenade Would it be possible to share a screen recording of the issue? Also can you share the logs, I am interested in the initial part of the logs where it prints out which experiments you are in.

We have an experiment where the activation happens in the background so your powershell will have the right environment variables but the prompt may not show that it is in an environment.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 24, 2024
@karthiknadig karthiknadig added bug Issue identified by VS Code Team member as probable bug area-terminal and removed feature-request Request for new features or functionality info-needed Issue requires more information from poster labels Jul 24, 2024
@ArenaGrenade ArenaGrenade closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants