Reputation: 3828
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,
conda init
followed by closing and re-opening terminalconda activate ml3.10
on MacOS terminal followed by code .
rm -rf ~./vscode*
and rm -r /Applications/Visual\ Studio\ Code.app
but nothing has worked so far. Any ideas whats the problem
Upvotes: 1
Views: 848
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": ""
}
Upvotes: 3