Anaconda with Visual Studio Code

11,796

Turns out I just needed to restart my computer.

Share:
11,796
sir_thursday
Author by

sir_thursday

Updated on June 04, 2022

Comments

  • sir_thursday
    sir_thursday almost 2 years

    I'm trying to use Anaconda with VSCode for Python development, and running into some difficulties.

    I followed the steps here: https://docs.continuum.io/anaconda/ide_integration#python-tools-for-visual-studio-ptvs

    I can confirm that Python works on my command prompt, and thus I believe (?) that it is properly added to my PATH.

    However, when I try to debug in VSCode, I get the error:

    Failed to launch the Python Process, please validate the path 'python'
    Error: spawn python ENOENT
    

    I haven't edited my launch.json file at all... do I need to? I'm guessing it can't find python on the path, why is that?