简体   繁体   中英

Anaconda with Visual Studio Code

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?

结果我只需要重新启动计算机。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM