Behavior #
When conda activate env
, terminal states that env is activated - prints (env) at the beginning of the line. Same with the interpreter - VScode sees it and I am able to select it.
However, which python
points to the default python on MacOS, and therefore none python 3.6-dependent packages work. Same with the interpreter - VScode fails to find packages which are installed in the env
How to solve #
1. Open settings #
2. Modify configuration #
Add following content to configuration
"terminal.integrated.env.osx": {
"PATH": ""
}
3. Restart VSCode #
Then the $PATH
will be the same as the external terminal.