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

前端 未结 6 637
生来不讨喜
生来不讨喜 2021-01-19 09:26

I just downloaded Python and Visual Studio. I\'m trying to test the debugging feature for a simple \"Hello World\" script and I\'m receiving this error:

6条回答
  •  盖世英雄少女心
    2021-01-19 09:45

    Add python path by following these steps. 1. Go to uninstall a program. 2. Go to Python 3.6.1 (this is my python version). Select and click on Uninstall/change. 3.Click on Modify. 4. Click next > In advanced options > tick add Python to environment variable. Click install. Restart VS code.

提交回复
热议问题