-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Change activation of conda environments in powershell #668
Comments
A contributed powershell wrapper to conda would be hugely appreciated. With conda 4.4+, there are five other shell wrappers for conda. We're still obviously missing powershell. I started the conda/conda#6471 PR as a sketch of what the powershell wrapper might look like, and Steve Dower added some additional comments in conda/conda#6471 (comment). Eager to work with anyone wanting to push this through and get it in. |
Prescribed solution:
public async getPowershellCommands(
_envName: string,
_targetShell: TerminalShellType
): Promise<string[] | undefined> {
return;
}
|
My current solution is to add the following to workspace setting, {
"terminal.integrated.shellArgs.windows": [
"-NoExit",
"-Command",
"conda activate pyHIFU"
],
"python.terminal.activateEnvironment": false
} where |
Given powershell has been configured on user environment for conda and |
Once the upstream Conda Issue #626 is resolved, we'll need to update the conda activation accordingly.
The text was updated successfully, but these errors were encountered: