imantha
imantha

Reputation: 3828

VS-code terminal not recognising conda environment

I am using VSCode on MacOS and the VSCode terminal is not recognising conda environment. Instead it directing to directing to the original python environment that came along with MacOS (/usr/bin/python).

I have tried a few suggestion from other post such as,

but nothing has worked so far. Any ideas whats the problem

enter image description here

Upvotes: 1

Views: 848

Answers (1)

x pie
x pie

Reputation: 592

I suppose this is due to the vscode settings. Maybe you can try following steps:

1.Find code->preference->setting->Features->Terminal->Integrad>Env:Osx in vscode and choose edit in settings.json;

2.Add code below

"terminal.integrated.env.osx": {  
          "PATH": ""   
 }

to the red frame.enter image description here

Upvotes: 3

Related Questions