When the terminal is started, the automatic activation of the conda environment fails #20800
Unanswered
kailiangshang
asked this question in
Q&A
Replies: 1 comment 3 replies
-
There isn't a way to make the extension use that command with conda as that's not how conda wants you to activate a conda environment. The command you're asking about is the command for a virtual environment (which is different from conda). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use bash as my vscode terminal and choose "python: default interpreter path: D: /Anaconda /python. exe". But when I open my terminal, bash terminal executes "D: \Anaconda \Scripts \activate base". What part should I configure to let the terminal execute the command "source D: /Anaconda /Scripts activate" when I open it, and then automatically activate the conda environment.
Beta Was this translation helpful? Give feedback.
All reactions