anaconda與VSCODE配置過程中遇到的問題與解決辦法
阿新 • • 發佈:2018-12-07
重新用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後面的路徑替換為自己的即可