Skip to content

wrong prompt for conda on powershell #22409

@ghost

Description

When launching a powershell, vs code python plugin uses a wrong prompt for miniconda
It should be C:/Miniconda3/Scripts/activate.bat instead of C:/Miniconda3/Scripts/activate

the currently used one is for Linux with /bin/sh, but the tested enviroment is on windows with powershell

this bug is really annoying as it requires manually typing the correct prompt and then conda activate or set C:/Miniconda3/Scripts/activate.ps1 to be loaded automatically with conda init

[vscode-python]
v2023.20.0

[vscode]
version: 1.83.1 (user setup)
commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
date: 2023-10-10T23:48:05.904Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22621

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions