Environment data
- VS Code version: 1.28.2
- Extension version (available under the Extensions sidebar): 2018.19.1
- OS and version: macOS 10.14
- Python version (& distribution if applicable, e.g. Anaconda): python 3.7, Miniconda
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Actual behavior
The conda PATH entires are added to the end of $PATH (or that's what the integrated terminal tells me) meaning which python gives /usr/bin/python on macOS.
[rdonnelly@0558 conda-build]$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/opt/conda/bin
[rdonnelly@0558 conda-build]$ which python
/usr/bin/python
[rdonnelly@0558 conda-build]$
Expected behavior
The conda PATH entries should be added to the front of $PATH.
I should point out that when debugging, the right python interpreter is run, however print(os.environ['PATH']) shows the same problem, and during execution of, say, conda-build, when it fetches sources from a git repo the too-old system git executable gets found instead of the more modern one that has been installed into the conda environment.
Steps to reproduce:
- XXX
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
Environment data
Actual behavior
The conda
PATHentires are added to the end of$PATH(or that's what the integrated terminal tells me) meaningwhich pythongives/usr/bin/pythonon macOS.Expected behavior
The conda
PATHentries should be added to the front of$PATH.I should point out that when debugging, the right python interpreter is run, however
print(os.environ['PATH'])shows the same problem, and during execution of, say,conda-build, when it fetches sources from a git repo the too-old systemgitexecutable gets found instead of the more modern one that has been installed into the conda environment.Steps to reproduce:
Logs
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Output from
Consoleunder theDeveloper Toolspanel (toggle Developer Tools on underHelp)