美文网首页
vscode - Python - Error: spawn p

vscode - Python - Error: spawn p

作者: 混沌骑士_3606 | 来源:发表于2018-03-14 16:22 被阅读0次

使用VScode测试Python·代码时无法调试,对于Python来说,环境问题,学习成本高,使用次数少,学习起来吃力不讨好。

参考解决网站-英文https://stackoverflow.com/questions/39949845/visual-studio-python-failed-to-launch-the-python-process-please-validate-the-p

解决方法

1、首先确保vscode扩展Python已安装

2、安装Python

https://www.python.org/

3、配置环境变量,Python不像Java可以自动配置,需要手动配置

默认安装Python的路径一般为

C:\Users\***\AppData\Local\Programs\Python\Python36

4、重启VScode,大功告成

喜欢的化请点个赞

相关文章

网友评论

      本文标题:vscode - Python - Error: spawn p

      本文链接:https://www.haomeiwen.com/subject/lgpzfftx.html