Closed vvscode closed 5 years ago
That's because your pythonpath is pointing to python 2. AREPL requires python 3 to work.
You can change either the python.pythonpath
or arepl.pythonpath
setting to python3
and it should work.
(AREPL will automatically use python.pythonpath
setting if arepl.pythonpath
is not configured)
I have code in arepl to show a warning when python 2 is used, I'm not sure why it didn't activate :(
PythonShell.getVersion(`"${pythonPath}"`).then((out)=>{
if(out.stdout){
if(out.stdout.includes("Python 2.")){
vscode.window.showErrorMessage("AREPL does not support python 2!")
}
}
})
I'll create a new issue for that.
Just installed extension (
1.0.17
). ChooseAREPL: execute python in real time (new doc)
and see next:In log file: