Loading

anaconda安装VSCODE后,python报错

重新用anaconda时遇到了一点问题。

测试anaconda捆绑安装的VSCODE时写了一行print(1),然后报错。

后来发现用anaconda下载vscdoe时并不会给python一个路径,这个路径需要自己添加

{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"pythonPath": "C:/Users/Administrator/Anaconda3/python",
"program": "${file}",
"console": "integratedTerminal"
}

 

pythonpath后面的路径替换为自己的即可
posted @ 2018-12-07 22:21  白叶Stuart  阅读(3109)  评论(0编辑  收藏  举报