I've recently run a complete reinstallation of Anaconda, as well as Atom with Script and Hydrogen. Before the reinstallation everything ran fine. Now,
when trying to execute a Python script line using Ctrl+Enter I'm getting the following error:
'C:\Users\vestland\AppData\Local\Programs\Python\Python37-32\python.exe' is not recognized as an internal or external command, operable program or batch file.
And that's no wonder, because there is no python.exe in that folder. It's in 'C:\Users\vestland\AppData\Local\Programs\Python\Python37-32\SCRIPT\python.exe'. How can I change that reference within Atom?
I've tried adding 'C:\Users\vestland\AppData\Local\Programs\Python\Python37-32\SCRIPT\python.exe' to PATH but to no avail.
I've also tried editing the Hydrogen kernel.json file as per the suggestion here to:
{
"display_name": "MyPython3",
"argv": [
"C:\\Users\\vestland\\AppData\\Local\\Programs\\Python\\Python37-32\\scripts\\python.exe",
"-m",
"ipykernel",
"-f",
"{connection_file}"
],
"language": "python"
}
Thank you for any suggestions!
Edit:
Running Python using ctrl+shift+b works just fine! But that's a command for the Script package and not Hydrogen.


